# slugs

> pure JavaScript url slug generator for Node.JS with minimal dependencies

Latest version **0.1.3** (published 2014-09-24) · 0 weekly downloads

## Install

```sh
npm install slugs
pnpm add slugs
yarn add slugs
bun add slugs
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2014-09-24 |
| First published | 2012-02-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aaron Stannard |
| Maintainers | aaronontheweb, stannardian |
| Keywords | slug, slugs, url |

## Links

- npm: https://www.npmjs.com/package/slugs
- Repository: git@github.com:Aaronontheweb/node-slugs
- Homepage: https://github.com/Aaronontheweb/node-slugs
- Issues: https://github.com/Aaronontheweb/node-slugs/issues
- npm.io page: https://npm.io/package/slugs

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.1.3 (latest) — 2014-09-24
- 0.1.2 — 2012-02-02
- 0.0.1 — 2012-02-01

## README

# Slugs for Node.JS

Pure JavaScript slug generator for Node.JS applications that need to use slugs.

## Usage


    var slugs = require("slugs")
    
    console.log(slugs('Hi there! How are you!'));
    //Writes hi-there-how-are-you to console


## Notes
Currently deletes unicode characters altogether, rather than convert them to URL-friendly chars.

## Slugs on NPM
You can install node-slugs via NPM, like so:

	npm install slugs

## License
Licensed under Apache 2.0, see license.txt for details.

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