shortme
Create a short slug version from your text input. This could be useful for your filenames or creative slugs.
Installation
- Run
npm install shortme --save
Usage
const shortme = require("shortme");
shortme("Your Text Input", options) // Return "yti"
Type: Object
options Type: String, Default: "_"
delimiterChar Define delimiter char sign
Type: Number, Default: 16
maxCharLength Define max length from returning output String
Demo
Live demo available on http://projects.bminusg.de/shortme/