slugish

1.0.0 • Public • Published

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 !

Package Sidebar

Install

npm i slugish

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.39 kB

Total Files

8

Last publish

Collaborators

  • pacifio