mongoose-times

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.

Browse on unpkg