dodo / node-slug

slugifies even utf-8 chars!
MIT License
1.07k stars 94 forks source link

Add slug words limit #44

Open jesusbotella opened 9 years ago

jesusbotella commented 9 years ago

Hi!

I wanted to limit the number of words within the slug and I thought to add that to the script. I hope it'll be useful for someone :)

I made the test, and it works correctly ;)

Best regards.

lillem4n commented 9 years ago

Since this repo does not seem to be accepting pull requests, I've forked it, added this and some other pull requests and published another node module with the updates; https://github.com/larvit/larvitslugify I've added you to contributors because you contributed. :)