@mongez/slug
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Mongez Slug

A utility to generate route slug.

Installation

yarn add @mongez/slug

Or

npm i @mongez/slug

Usage

import slug from "@mongez/slug";

// OR
import { slugify } from "@mongez/slug";

slug("hello-world"); // hello-world

TODO

  • Add unit tests

Readme

Keywords

Package Sidebar

Install

npm i @mongez/slug

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

2.97 kB

Total Files

13

Last publish

Collaborators

  • hassanzohdy