Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/panthershark/url-seo-scrubber
- Owner: panthershark
- License: mit
- Created: 2014-04-23T01:40:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-23T02:06:15.000Z (over 10 years ago)
- Last Synced: 2024-09-24T15:40:52.815Z (4 months ago)
- Language: JavaScript
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
```