word-slug
v0.0.1
Published
Generates URL slugs out of random words
Downloads
472
Readme
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'