Node.js and Mongoose - SEO Friendly URLs -


i need create seo friendly urls node.js, before inserting document i'd check if there other document has url that. searching module transform string url, found 1 https://github.com/ludopoli/friendlyjs. there other module can , has created interaction mongoose, checks before created urls?

i solved problem myself quite recently, , post made me feel should turn module , publish it. called monguurl. hooks in before save, converts specified field url-friendly string, checks if it's not taken , if is, appends number.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -