UNPKG

mongoose-hook-createdmodified

Version:

Mongoose plugin, adding `createdAt` and `modifiedAt` timestamp fields to document. `modifiedAt` is changed on any type of update.

48 lines (41 loc) 1.13 kB
{ "name": "mongoose-hook-createdmodified", "version": "0.1.4", "description": "Mongoose plugin, adding `createdAt` and `modifiedAt` timestamp fields to document. `modifiedAt` is changed on any type of update.", "license": "MIT", "homepage": "https://github.com/tarquas/mongoose-hook-createdmodified", "main": "./lib/v0/index.js", "dependencies": { "mongoose-hook": "0.1.5" }, "bugs": { "url": "https://github.com/tarquas/mongoose-hook-createdmodified/issues", "email": "tarquas@gmail.com" }, "keywords": [ "mongoose", "plugin", "hook", "mongoose-hook", "created", "modified", "createdmodified", "mongoose-createdmodified", "all", "static", "mongo" ], "author": { "name": "Taras Mykhailovych", "email": "tarquas@gmail.com", "url": "http://194.44.203.87/tarquas/" }, "contributors": [ {"name": "Staff.com", "url": "https://staff.com/"}, {"name": "Time Doctor", "url": "https://timedoctor.com/"} ], "repository": { "type": "git", "url": "http://github.com/tarquas/mongoose-hook-createdmodified.git" } }