GitHunt
PL

PlayPickUp/sluggy

JS helper module to make slugs for the PickUp Platform

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

Contributors

MIT License
Created June 20, 2021
Updated February 16, 2022