Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/panthershark/url-seo-scrubber

Takes a string and formats it for a url.
https://github.com/panthershark/url-seo-scrubber

Last synced: about 2 months ago
JSON representation

Takes a string and formats it for a url.

Awesome Lists containing this project

README

        

url-seo-scrubber
==================

Takes a string and formats it for a url. Use this to format titles for SEO friendly urls.

## Example

``javascript
var scrub = require('url-seo-scrubber');

var clean = scrub('Is this: thing - on?');

console.log(clean);

// ===> "is-this-thing-on"

```