• This function converts an input string into a deterministic, space-free string.

    For example, we can use this to calculate the default product URL slug from a product title:

    const productTitle = 'Test Product';
    const handle = handleify(productTitle);
    // handle = 'test-product'

    Parameters

    • string: string = ''

      the input string

    Returns string

Generated using TypeDoc