Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.18 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.18 KB

slugify

Version GitHub Workflow Status (branch) npm bundle size (scoped) Downloads CodeStyle

Generate a slug from a string.

Install

npm i @binance-academy/slugify
# -or-
yarn add @binance-academy/slugify

Usage

import slugify from "@binance-academy/slugify";

// Output: aaaa
const slug = slugify("aaaa---$%#");

Note: If you want to see more examples, please head over here.