pid / speakingurl

Generate a slug – transliteration with a lot of options
http://pid.github.io/speakingurl/
BSD 3-Clause "New" or "Revised" License
1.12k stars 84 forks source link

Mention mongoose-slug-plugin that uses speakingurl by default? #114

Open niftylettuce opened 6 years ago

niftylettuce commented 6 years ago

Thanks again @pid for creating this package 👏

Using this package for generating slugs to use in URL's is probably fairly common. I'd suggest possibly putting a note in README such as...

Using Mongoose? Try mongoose-slug-plugin at https://github.com/ladjs/mongoose-slug-plugin!

Or something similar - the reason being is because a lot of Node.js users use MongoDB (Mongo is to Node.js what SQL is to Ruby imo). And the most popular ODM for MongoDB is Mongoose, therefore I figured it'd help out with confusion (considering there's dozens of poorly maintained, untested, and unpluggable slug helpers on NPM right now for Mongoose).