Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.2 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.2 KB

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