1.0.2 • Published 4 years ago

generator-slug v1.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

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.

License

MIT

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago