Skip to content

pfryga/slug-creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Slug creator for node.js

Resources

Stars

Watchers

Forks

Packages

No packages published