# @mongez/slug

> A utility to generate route slug.

Latest version **1.0.7** (published 2023-05-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mongez/slug
pnpm add @mongez/slug
yarn add @mongez/slug
bun add @mongez/slug
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2023-05-16 |
| First published | 2022-01-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hassanzohdy |
| Maintainers | hassanzohdy |
| Keywords | slug, route-slug, slugify |

## Links

- npm: https://www.npmjs.com/package/@mongez/slug
- Repository: https://github.com/hassanzohdy/mongez-skug
- npm.io page: https://npm.io/package/@mongez/slug

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.7 (latest) — 2023-05-16
- 1.0.6 — 2022-08-14
- 1.0.5 — 2022-08-11
- 1.0.4 — 2022-08-11
- 1.0.3 — 2022-01-12
- 1.0.2 — 2022-01-11
- 1.0.1 — 2022-01-08

## README

# Mongez Slug

A utility to generate route slug.

## Installation

`yarn add @mongez/slug`

Or

`npm i @mongez/slug`

## Usage

```js
import slug from "@mongez/slug";

// OR
import { slugify } from "@mongez/slug";

slug("hello-world"); // hello-world
```

## TODO

- Add unit tests

---
_Source: https://npm.io/package/@mongez/slug · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
