this is func helper create slug from string support multi languages
Use the package manager pip to installgenratorSlug.
npm install genrator-slug
yarn add genrator-slug
npm run test
yarn test
import generator-slug
generator-slug.generatorSlug('hello word') # returns 'hello-word'
first: string covert slug
second: allow add generator character make your slug unique
three: length of string generator by function
generator-slug.generatorSlug(('hello word',true,6) # returns 'geese'
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.