yurigor

yurigor/mongoose-slug-updater

Schema-based slug plugin for Mongoose - single/compound - unique over collection/group - nested docs/arrays - relative/abs paths - sync on change: create/save/update/updateOne/updateMany/findOneAndUpdate tracked - $set operator - counter/shortId

JavaScript
42
13
MIT License

Mongoose Slug Updater is a sophisticated plugin for Mongoose that automatically generates and updates slugs based on document fields, supporting single or compound slugs, nested documents, arrays, and unique slugs within collections or groups. It's designed for developers using Mongoose who need dynamic, unique URL slugs for documents, with features like automatic regeneration on field changes, custom formatting, and conflict resolution using counters or short IDs.

Total donated
Undistributed
Share with your subscribers: