Have ideas to improve npm?Join in the discussion! »

@alexcarpenter/slugify

1.0.6 • Public • Published

slugify

Convert a string into a slug

Installation

$ npm i @alexcarpenter/slugify

Usage

import slugify from '@alexcarpenter/slugify';
 
slugify('dé jà vu'); // de-ja-vu
slugify('fooBar'); // foo-bar
slugify('foo 👻 bar'); // foo-bar

License

MIT.

Install

npm i @alexcarpenter/slugify

DownloadsWeekly Downloads

93

Version

1.0.6

License

MIT

Unpacked Size

14.8 kB

Total Files

6

Last publish

Collaborators

  • avatar