@binance-academy/slugify
v1.0.1
Published
Create a slug from a string
Downloads
32
Readme
slugify
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.