UNPKG

mongoose-createdat-updatedat

Version:

A mongoose plugin that adds createdAt and updatedAt fields to subscribed models in order to avoid redundancy

39 lines (38 loc) 874 B
{ "name": "mongoose-createdat-updatedat", "version": "1.2.0", "description": "A mongoose plugin that adds createdAt and updatedAt fields to subscribed models in order to avoid redundancy", "main": "./lib/mongoose-createdat-updatedat.js", "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/james075/mongoose-createdAt-updatedAt.git" }, "keywords": [ "mongoose", "mongodb", "lifecycle", "createdAt", "updatedAt", "moongoose", "plugin" ], "author": { "name": "James Heng", "email": "james.heng07@gmail.com" }, "contributors": [ { "name": "Ángel Brasero", "url": "https://github.com/makmonty" } ], "devDependencies": { "mocha": "^2.2.5", "mongodb-memory-server": "^6.0.1", "mongoose": "^5.7.7", "should": "^7.0.3" } }