PlayPickUp / sluggy

JS helper module to make slugs for the PickUp Platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

JS helper module to make slugs for the PickUp Platform

License:MIT License


Languages

Language:TypeScript 71.1%Language:JavaScript 24.5%Language:Shell 4.3%