generator-slug

1.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i generator-slug

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

2.56 kB

Total Files

4

Last publish

Collaborators

  • tomnyson