GitHub

shopifyUrlTransformer

Transforms a DaffLocatable url into a Shopify handle string

See DaffLocatable for more information on the requirements for the url argument.

import { shopifyUrlTransformer } from '@daffodil/driver/shopify'
const shopifyUrlTransformer: (url: string) => string