@medusajs/utils
Version:
Medusa utilities functions shared by Medusa core and Modules
10 lines • 345 B
TypeScript
/**
* Helper method to create a to be URL friendly "handle" from
* a string value.
*
* - Works by converting the value to lowercase
* - Splits and remove accents from characters
* - Removes all unallowed characters like a '"%$ and so on.
*/
export declare const toHandle: (value: string) => string;
//# sourceMappingURL=to-handle.d.ts.map