word-slug

0.0.1 • Public • Published

word-slug

Makes URL slugs from random words chained together.

Install

npm install word-slug

Example

var wordSlug = require('word-slug');
 
 
console.log(wordSlug(4)); // 'thrill-snail-wakeful-nonstop'
 
console.log(wordSlug(2)); // 'curly-voiceless'
 
// Defaults to 3
console.log(wordSlug()); // 'ripe-reading-flagrant'

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.162latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.162
0.0.00

Package Sidebar

Install

npm i word-slug

Weekly Downloads

62

Version

0.0.1

License

WTFPL

Last publish

Collaborators

  • download