generator-slug
v1.0.2
Published
generator slug
Downloads
1
Readme
Generator Slug
this is func helper create slug from string support multi languages
Installation
Use the package manager pip to installgenratorSlug.
npm install genrator-slug
yarn add genrator-slug
npm run test
yarn test
Usage
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'
Contributing
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.