1.0.0 • Published 5 years ago
slugish v1.0.0
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 !
1.0.0
5 years ago