Skip to content

mehmetb/nb-slug

 
 

Repository files navigation

nb-slug

Slug strings

Codeship Status for luiz-simples/nb-slug Code Climate

##How to install?

$ npm install nb-slug --save

##How to use?

var nbSlug = require('nb-slug');
var slug   = nbSlug('MY STRING ÁÉÍÓ_ al}^ ?}^{  (( ))}  dirty and  now ÚŃÑÃÕÇÂÎÔÛ STRING clear')
console.log(slug); //my-string-aeiou-al-dirty-and-now-unnaoçaiou-string-clear

##How to contribute?

Environment with:

Make tasks of environment

  • Build docker image - $ make build-image
  • Create docker container - $ make build-container
  • Run docker container - $ make attach-container

First steps after environment builded

nbSlug@dev$ npm install
nbSlug@dev$ npm test

About

Slug strings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.1%
  • Makefile 5.2%
  • Shell 0.7%