@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.70latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.70
1.0.61
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10

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