JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 679
  • Score
    100M100P100Q95308F
  • License UNLICENSED

Slug strings

Package Exports

  • nb-slug

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nb-slug) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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-unnaocaiou-string-clear

##How to contribute?

Environment with:

Make tasks of environment

  • UP and RUN docker environment - $ make run
  • Stop docker environment - $ make stop
  • Destroy docker environment - $ make down

First steps after environment builded

nbSlug@dev:~/src$ npm install
nbSlug@dev:~/src$ npm test