Mongoose plugin to add created and lastUpdated properties to schemas. Date properties are auto-assigned by the plugin, and the key names can be easily customized to match your naming style.
Mongoose plugin, adding createdAt
and modifiedAt
timestamp fields to document. modifiedAt
is changed on any type of update.
Mongoose plugin adding created and modified fields to a schema
Is a mongoose plugin that automatically keeps track of when the document has been created, updated and optionally when some fields have been modified
Common plugin for Mongoose with standard schema fields and localization support