An open API service indexing awesome lists of open source software.

https://github.com/alexcarpenter/slugify

Convert a string into a slug
https://github.com/alexcarpenter/slugify

composition currying fp point-free

Last synced: 6 months ago
JSON representation

Convert a string into a slug

Awesome Lists containing this project

README

          

# slugify

> Convert a string into a slug

## Installation

```bash
$ npm i @alexcarpenter/slugify
```

## Usage

```js
import slugify from '@alexcarpenter/slugify';

slugify('dé jà vu'); // de-ja-vu
slugify('fooBar'); // foo-bar
slugify('foo 👻 bar'); // foo-bar
```

## License

[MIT](LICENSE).