Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Simple slug-url generator for Node.JS applications implemented in pure JavaScript

License

Notifications You must be signed in to change notification settings

coding-lemur/node-slugs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple slug-url generator for Node.JS applications implemented in pure JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%