README
slugish - A simple javascript based url preetier
Install
npm i slugish --save #for NPM
yarn add slugish #for yarn
Usage
Method 1
const slugish = require('slugish');
console.log(slugish('test 123'));
Method 2
require('slugish');
console.log('another test'.slugish());
// No need to name the import .. slugish is automatically added to the String class
Hope it helps !