slugs

0.1.3 • Public • Published

Slugs for Node.JS

Pure JavaScript slug generator for Node.JS applications that need to use slugs.

Usage

var slugs = require("slugs")

console.log(slugs('Hi there! How are you!'));
//Writes hi-there-how-are-you to console

Notes

Currently deletes unicode characters altogether, rather than convert them to URL-friendly chars.

Slugs on NPM

You can install node-slugs via NPM, like so:

npm install slugs

License

Licensed under Apache 2.0, see license.txt for details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    2,355
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    2,355
  • 0.1.2
    2
  • 0.0.1
    2

Package Sidebar

Install

npm i slugs

Weekly Downloads

981

Version

0.1.3

License

none

Last publish

Collaborators

  • aaronontheweb
  • stannardian