slug-creator

1.1.2 • Public • Published

slug-creator

Requirements

Node.js v4.2.1 or greater

Use

Installation

npm install slug-creator

Init object and get slug

import SlugCreator from 'slug-creator'

let creator = new SlugCreator();

let slug = creator.getSlug('Example string with polish characters like ą ę');
// slug equals 'example-string-with-polish-characters-like-a-e'

Run unit tests

npm run test

Readme

Keywords

Package Sidebar

Install

npm i slug-creator

Weekly Downloads

6

Version

1.1.2

License

MIT

Last publish

Collaborators

  • jwest
  • piotr.fryga