sluggy
Slug generator module for node.js
Installation
npm install sluggy --save
Usage
var sluggy = sluggy_random = sluggysluggy_random sluggy_string = sluggysluggy_string;
Random slug
;
Output
c224343bddaabd22b4bc3bbaccd2d23d
Random slug 3 groups of 5 chars
;
Output
aUFN5-69KYg-hNIYl
Random slug 2 groups of 4 chars with custom dictionary
;
Output
yy42-t3ey
Slug from string
;
Output
lorem-ipsum-dolor-sit-amet
Tests
npm test
Release History
- 0.1.0 Initial Release