Slugme
This is a simple javascript function that returns slugified string. The slugification is useful for URL build from accentuated strings.
It replaces accentuated chars to non-accentuated and spaces by the minus sign. All other chars (non-alphanumeric) are removed or replaced.
Work both in Node & browser environment.
Install
npm i slugme -S
Usage
const slugme = ;const result = ; console; //=> etre-en-ete-est-a-mi-chemin-de-noel
Browser
Example:
Slug : « »
Misc
Licence
MIT