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
Post a Comment