@playpickup/sluggy
v2.1.0
Published
JS helper module to make slugs for the PickUp Platform
Downloads
6
Readme
Sluggy 🐌
A small but helpful JS package that removes common stop words and slugifies a string
💾 Installation
yarn add @playpickup/sluggy
# or with NPM
npm install --save @playpickup/sluggy
👩🏽💻 Usage
import makeSlug from @playpickup/sluggy;
const string = "Will Clayton Kershaw win MVP again?";
const slug = makeSlug(string); // will-clayton-kershaw-win-mvp
Brought to you by the fine folks at PickUp // Questions? Issues? Feel free to open a ticket