Skip to content

JS helper module to make slugs for the PickUp Platform

License

Notifications You must be signed in to change notification settings

PlayPickUp/sluggy

Repository files navigation

Sluggy 🐌

semantic-release NPM npm Snyk Vulnerabilities for npm package npm bundle size Test & Build

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