UNPKG

mongoose-lean-id

Version:

Attach `id` to the results of mongoose queries when using `.lean()`

40 lines (39 loc) 1.02 kB
{ "name": "mongoose-lean-id", "version": "1.0.0", "description": "Attach `id` to the results of mongoose queries when using `.lean()`", "main": "index.js", "scripts": { "docs": "node ./docs", "test": "mocha ./test/*.js", "test-integration": "mocha ./test/integration.js", "test-travis": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*" }, "repository": { "type": "git", "url": "https://github.com/vkarpov15/mongoose-lean-id.git" }, "keywords": [ "mongoose", "lean", "id", "mongodb" ], "devDependencies": { "acquit": "1.x", "acquit-ignore": "0.1.x", "acquit-markdown": "0.1.x", "istanbul": "0.4.5", "mocha": "3.2.0", "mongoose": "8.x" }, "peerDependencies": { "mongoose": "7.x || 8.x" }, "author": "Valeri Karpov <val@karpov.io>", "license": "Apache 2.0", "bugs": { "url": "https://github.com/vkarpov15/mongoose-lean-id/issues" }, "homepage": "https://github.com/vkarpov15/mongoose-lean-id" }