{"_id":"mongoose-deep-populate","_rev":"49-6a4a0cb579001cfd6cb6644b76116590","name":"mongoose-deep-populate","description":"Mongoose plugin to enable deep population of nested models","dist-tags":{"latest":"3.2.0","mongoose":"0.0.3","[mongoose]":"0.0.1"},"versions":{"0.0.1":{"name":"mongoose-deep-populate","version":"0.0.1","description":"Mongoose plugin to enable deep model population","keywords":["mongodb","mongoose","mongo","populate","population","deep populate","models"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"mongoose":"^3.8.18","async":"^0.9.0","mocha":"^2.0.1","chai":"^1.9.2","sinon":"^1.11.1","gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","gulp-load-plugins":"^0.7.1","event-stream":"^3.1.7","stream-series":"^0.1.1","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","gulp-exit":"0.0.2","minimist":"^1.1.0"},"_id":"mongoose-deep-populate@0.0.1","dist":{"shasum":"4645cc4ba2e0005d03c652ffc5bab0a4e2dd5d04","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-0.0.1.tgz","integrity":"sha512-bJt8gHXjH33dIdcuIqvb72C+cNUWGEeEi5yesIQu4UxRdGA/dcp3+Qeu1fYzBYjzZtAEGMZIG9YjTZVFCgNbfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3OonUUeNKQNItwcpaHmAliOKDmCA/4EEJgT2xQ21yOgIgDNGCDChljyNdMviSgnsEGcvFdCiLgg0bVv6AEL5YLws="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{}},"0.0.2":{"name":"mongoose-deep-populate","version":"0.0.2","description":"Mongoose plugin to enable deep model population","keywords":["mongodb","mongoose","mongo","populate","population","deep populate","models"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"mongoose":"^3.8.18","async":"^0.9.0","mocha":"^2.0.1","chai":"^1.9.2","sinon":"^1.11.1","gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","gulp-load-plugins":"^0.7.1","event-stream":"^3.1.7","stream-series":"^0.1.1","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","gulp-exit":"0.0.2","minimist":"^1.1.0"},"_id":"mongoose-deep-populate@0.0.2","dist":{"shasum":"f7b746b78829266b1e61a343ac52edca3c9d0243","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-0.0.2.tgz","integrity":"sha512-AbbcdKsbmbi9o1cjoIkOjI6IZKJ41qFuEFSpegbutXLwEkgUlDikOWp1lmWYE6CzIGM3PqmklV/QNPAMKUEpjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6n0FwShuNuFoksUVnrEGRvlKDqpJlUWXrXqH2dYv5oAiBtBdG6iyOrtfqrege2qPO4O2PSkfnEM6QsR5sixAQ1uA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{}},"0.0.3":{"name":"mongoose-deep-populate","version":"0.0.3","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongodb","mongoose","mongo","populate","population","deep populate","models"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"mongoose":"^3.8.18","async":"^0.9.0","mocha":"^2.0.1","chai":"^1.9.2","sinon":"^1.11.1","gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","gulp-load-plugins":"^0.7.1","event-stream":"^3.1.7","stream-series":"^0.1.1","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","gulp-exit":"0.0.2","minimist":"^1.1.0"},"_id":"mongoose-deep-populate@0.0.3","dist":{"shasum":"03a20ed95f51899b259d96f9d0b91c4334cbce7c","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-0.0.3.tgz","integrity":"sha512-n55xKF/iljhDp/0BNRclsC3EdzWW8isGii00Cf46+64G2KTOBULC3XNOKOZnZuxshYqb2lYb0KVj9kCGfELX8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaK1LSMF4R4j9++r0InLQLwcvmShGn0tGT7p/iByFtfAiEA63rUzqumzp/wbIa/WzNF33HRuprSFK19OCLTmUIAbG0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{}},"0.0.4":{"name":"mongoose-deep-populate","version":"0.0.4","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongodb","mongoose","mongo","populate","population","deep populate","models"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"mongoose":"^3.8.18","async":"^0.9.0","mocha":"^2.0.1","chai":"^1.9.2","sinon":"^1.11.1","gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","gulp-load-plugins":"^0.7.1","event-stream":"^3.1.7","stream-series":"^0.1.1","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","gulp-exit":"0.0.2","minimist":"^1.1.0"},"_id":"mongoose-deep-populate@0.0.4","dist":{"shasum":"436bca5c4a80826bc77aad40b241a6387d97393b","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-0.0.4.tgz","integrity":"sha512-DdtDiQ5eTbHFJKbl9I7k2CL3UbJlKQ7XofAglTGmUGP3l7imx9Eu1HPg0oTRCklsCCFRJb9X1RmGIxd+cYdNoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNUNOv2RoIYnysELiF1kIwA0HKPa+/aGvkwZGWxbXczgIgFWDY9MYY++rmCx+yh/cfPiMJUmDkxEgsDpCi9nZjHXI="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{}},"0.0.5":{"name":"mongoose-deep-populate","version":"0.0.5","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","documents","nested documents"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"mongoose":"^3.8.18","async":"^0.9.0","mocha":"^2.0.1","chai":"^1.9.2","sinon":"^1.11.1","gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","gulp-load-plugins":"^0.7.1","event-stream":"^3.1.7","stream-series":"^0.1.1","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","gulp-exit":"0.0.2","minimist":"^1.1.0"},"_id":"mongoose-deep-populate@0.0.5","dist":{"shasum":"28ab24be77859555cce192647dd3c4293e5f6b34","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-0.0.5.tgz","integrity":"sha512-37IDcVfplZcmiAee2zx1XAh7YfaLTltlRetuIXIFT7F1b8qiaIxem0+YXMRHWyhIZ8A5px04riFwW9hMFB25/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNw58LjNvKW+O/VQZ48L9nlwpZ7u2nC1MBDQ0OeReYRQIgSSHUqqw/G1vGsLXgJnOKuUtkeqVVRbLghZ9Ncs1c5bw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{}},"0.0.6":{"name":"mongoose-deep-populate","version":"0.0.6","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","documents","nested documents"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"mongoose":"^3.8.18","async":"^0.9.0","mocha":"^2.0.1","chai":"^1.9.2","sinon":"^1.11.1","gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","gulp-load-plugins":"^0.7.1","event-stream":"^3.1.7","stream-series":"^0.1.1","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","gulp-exit":"0.0.2","minimist":"^1.1.0"},"_id":"mongoose-deep-populate@0.0.6","dist":{"shasum":"9ea6c5f81b0e4a1a251032fffdc2be3ee23c998d","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-0.0.6.tgz","integrity":"sha512-LVcUurxPedUF/KWV6GKaCabPoFuEnt1xjoMXy8hT52BTepOFy9iAFmr8k0HHU0iFyyE9huFeXTMmaVc+iMZOHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpe2ayY/GkDsfBiqggItgpaEs14KPOxg7Xq8NJwVuGPwIhAPNeYMLkM4/rOK7tBLwdJzqm/8wPm58vXNn1mlTy6RVN"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{}},"0.0.7":{"name":"mongoose-deep-populate","version":"0.0.7","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","documents","nested documents"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"mongoose":"^3.8.18","async":"^0.9.0","mocha":"^2.0.1","chai":"^1.9.2","sinon":"^1.11.1","gulp":"^3.8.9","gulp-mocha":"^1.1.1","gulp-util":"^3.0.1","gulp-load-plugins":"^0.7.1","event-stream":"^3.1.7","stream-series":"^0.1.1","gulp-jshint":"^1.9.0","gulp-rename":"^1.2.0","jshint-stylish":"^1.0.0","gulp-exit":"0.0.2","minimist":"^1.1.0"},"_id":"mongoose-deep-populate@0.0.7","dist":{"shasum":"ffc2c08c088ca66e881c7ffb1c9ab9efd3a000bb","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-0.0.7.tgz","integrity":"sha512-bio5+tqqh0klGRI+WyoaAeUE7M9QGpfSGspRpqi0WKIrWgNE2f6QFeLWaVsOz0ve3hBUow9JfjuWcrPlJkpjsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMxWTPI3GNYRQ+hJbt9ob7VwkkK6uC+tolvtG78jPv6wIgOqHC7B7jn4HmNXaRt6hzsLx1SbuCDOrY1EWYZdt1dwc="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{}},"1.0.0":{"name":"mongoose-deep-populate","version":"1.0.0","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^1.9.2","event-stream":"^3.1.7","gulp":"^3.8.9","gulp-exit":"0.0.2","gulp-jshint":"^1.9.0","gulp-load-plugins":"^0.7.1","gulp-mocha":"^1.1.1","gulp-rename":"^1.2.0","gulp-util":"^3.0.1","jshint-stylish":"^1.0.0","lodash":"^2.4.1","minimist":"^1.1.0","mocha":"^2.0.1","mongoose":"^3.8.23","sinon":"^1.11.1","stream-series":"^0.1.1"},"gitHead":"81ccca66ce158bbc062e586110d48796db153b81","_id":"mongoose-deep-populate@1.0.0","scripts":{},"_shasum":"cdf4bc31e6c455fb8c40fa4b9bb9b2494eb6e0a3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"cdf4bc31e6c455fb8c40fa4b9bb9b2494eb6e0a3","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-1.0.0.tgz","integrity":"sha512-R+OmDtVkvZJV3VKe+yE4D8uP8ir2HWyxpwypIR1sy07Qd7wA54cD3vbTXMAYA/Ilzb0/FvA3+nqsChCAbdpd+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEGg9TMjunybf5/oROHeeBNJZz32o6X4C1gR/hU5XoWsAiEA+iMJTA0tjp2iGo0jThIuvB8k3fJYWh8jbbTPPL59a9U="}]},"directories":{}},"1.0.1":{"name":"mongoose-deep-populate","version":"1.0.1","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^3.8.24"},"gitHead":"a50e2edb581f687d6cbe6911ea00e8ef5d5a49c6","_id":"mongoose-deep-populate@1.0.1","scripts":{},"_shasum":"d60bc79e433bf576fdca4eb8430c84085d7d5a39","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"d60bc79e433bf576fdca4eb8430c84085d7d5a39","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-1.0.1.tgz","integrity":"sha512-nKtkgbaE4vGiHOWaGzmUVm2fAc2sY6R6ZyjibW07pnOkNItR/OoOflXKC9cBcqv5vQVoC7ivLtOR97An+vFDlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTlUmD4Muo58AA0j8NQoZ4wPOY6NhRZNek90FY7C5WowIhALApU9bUp9Xo4aOnb0YT4VX1DaLK1YEZcPNz2LMc9alb"}]},"directories":{}},"1.0.2":{"name":"mongoose-deep-populate","version":"1.0.2","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^3.8.25"},"gitHead":"324d18d10ca25c9c4e9f958b54178bb9d586e81d","_id":"mongoose-deep-populate@1.0.2","_shasum":"2c5a3878938cc411d76b7844ace42e8474786d14","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"2c5a3878938cc411d76b7844ace42e8474786d14","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-1.0.2.tgz","integrity":"sha512-3ySIKYfreDCKxL7U8mUVp39Jx8U13wdBHgkdsu5d8vzhEMe0HY8vIkMrlxhq6GGKSS7k/+WPZkWXClr6eWZ/1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYtEBz2iOJaC3YYVnDGvnwt+/BPYUI8gkhrnXaYYn6lgIhAJ5eICtMe8YhtHlySscJGyEDxGamHKe/U89xNCSENfoe"}]},"directories":{}},"1.1.0":{"name":"mongoose-deep-populate","version":"1.1.0","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","peerDependencies":{"mongoose":">=3.6.0"},"devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0"},"gitHead":"c9a9c1c8289aa5375321ab32afdd41772ddba1d6","_id":"mongoose-deep-populate@1.1.0","_shasum":"0f70bcdbe68fce95585ee6ec47e23febbf190b03","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.10.36","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"0f70bcdbe68fce95585ee6ec47e23febbf190b03","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-1.1.0.tgz","integrity":"sha512-qoNhBXJx9UluMJdbmHXv6ZOqIjBvHsRqgpd0IHW0lzO2wVbqCtZJkfZCDTs2KH0wasGyje2e1nmnHhsOv1MXTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmyrRGeF+h7sJnDRlTJ+9PcqjZnYKLKM2zFYIU2F7icgIgBc/NV5CHzAmzPUdTCjUIcmlF+KUNfN4mypc7bq3CJbU="}]},"directories":{}},"2.0.0":{"name":"mongoose-deep-populate","version":"2.0.0","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"https://github.com/buunguyen/mongoose-deep-populate"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^4.0.0","q":"^1.4.1"},"gitHead":"dfd63def9e0b8536ee43d64d5704415b216006c6","_id":"mongoose-deep-populate@2.0.0","_shasum":"243d0ae75b1a2ba410b9e5e71a87a30961bbbebe","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.10.36","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"243d0ae75b1a2ba410b9e5e71a87a30961bbbebe","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-2.0.0.tgz","integrity":"sha512-RacCi4fIBGxrLokslNEcTLFXliBuab4TXOEU1MFayJC4gTG1/GQMbIIrBfd4QuDm/955RPbET3xTo66lwk/ayw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBvMX2I46t3wTUU+hL5tcF9OewiY2cOhvVZ1i/gUUVGKAiEAip36PGwySSNBiFS1IHNz/LlTx99ZVhF87LkI9jkPXMQ="}]},"directories":{}},"2.0.1":{"name":"mongoose-deep-populate","version":"2.0.1","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^4.0.0","q":"^1.4.1"},"gitHead":"36da522c13bee5d943b87f82da40262c913e73ba","_id":"mongoose-deep-populate@2.0.1","_shasum":"783c437ddfc75ef1d2cd7e279eb1669b0926ef95","_from":".","_npmVersion":"2.13.5","_nodeVersion":"0.12.3","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"783c437ddfc75ef1d2cd7e279eb1669b0926ef95","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-2.0.1.tgz","integrity":"sha512-AHKIje2PaBXhrTbpFlD5GTzGxhfB++9Cg4guEOzttXNUSXjK2LSQkVliURCck9dYjVYpBMQYFrDu1ZJPNA1ufw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCteMQzv/bRi1/DxpFaUE9I5gn/09WST5Vjs+LACMyF3QIhAPFDdxvQhcKO3JKiiMuyPGa383nihoWl42lH+ecvux6N"}]},"directories":{}},"2.0.2":{"name":"mongoose-deep-populate","version":"2.0.2","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^4.0.0","q":"^1.4.1"},"gitHead":"cbfabacd6fc723986ca8e81c68a46cedac6c3b9b","_id":"mongoose-deep-populate@2.0.2","_shasum":"ed4f0607979f944d133c332ba680e75e5da5bcd3","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"ed4f0607979f944d133c332ba680e75e5da5bcd3","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-2.0.2.tgz","integrity":"sha512-bJC6Klq64A8HXj3IffX/rsqfZ1y9Cl0tIwuBBxe5RH1k8DMgL63QjJu3tLM+3YsAjC8UHUqOHAYzUCP+QRQLqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGr8pknOXRdteeAn74Hqj6CeBQouXZQ54D9+UYAof3lAiBIROWSDoCvdX27d0FI5k4b0un4CJgBa/DTpkH9b/cJZg=="}]},"directories":{}},"2.0.3":{"name":"mongoose-deep-populate","version":"2.0.3","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^4.0.0"},"gitHead":"bc793a7434ca3a71a047c2a84fdf6054b7e00cb6","_id":"mongoose-deep-populate@2.0.3","_shasum":"95b6bbfe4fd7886643d4948edc55ef156aed1371","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"dist":{"shasum":"95b6bbfe4fd7886643d4948edc55ef156aed1371","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-2.0.3.tgz","integrity":"sha512-Z2TFfqbmidL1Bkc36Kurx9fhBBMC/R2NtpLsK+CvqA3ipEVJ04xmJ9dc039prdrLb+Yzgdncd4FlQNhQR5Ybrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIExI0m9Io1jbAUZSruN4dZ/C+JzgljJ+lQ85D6pnYA6ZAiA6EoLguZPYTIjMoVmgtjqGbWBTXyuJOy/yLy2IkQNvjg=="}]},"directories":{}},"3.0.0":{"name":"mongoose-deep-populate","version":"3.0.0","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^4.0.0"},"gitHead":"2fff97332031526d1fe04216961b9d491cea7c79","_id":"mongoose-deep-populate@3.0.0","_shasum":"8100d0698b2211c646a6e92441a666d444171fa0","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.0","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"dist":{"shasum":"8100d0698b2211c646a6e92441a666d444171fa0","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-3.0.0.tgz","integrity":"sha512-ewFZrMrlhKMrGFVVdeeyfWFrfetm+8EDRDCNBAnY9zxHJJftubCMvFFHYLGA0saXPrnj2e1xotpGNR5gM7A3+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5TmAzay3Pvt6A0+ZnpPIDszAjZXLrPaLfMdT+zJUuuAIgX7OB8ycGMEavHJbDBdfolMH39qL6w/48vQo2EYWv2wk="}]},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-deep-populate-3.0.0.tgz_1457480438911_0.7046107689384371"},"directories":{}},"3.1.0":{"name":"mongoose-deep-populate","version":"3.1.0","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^5.0.0"},"gitHead":"8041fb2e10c4c4ab0c3394884cf8344c121e2612","_id":"mongoose-deep-populate@3.1.0","_shasum":"75ee452a850445d2d58786ff0a0fbe0b6c888f5c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"dist":{"shasum":"75ee452a850445d2d58786ff0a0fbe0b6c888f5c","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-3.1.0.tgz","integrity":"sha512-BJnIWKTM1COtDe8ucrAGRk84eehvP6psZpxD1q2VsK3p53HrvqDEWHMfY7B9pRL3cm1Lfg5YlChcE/JRwK7vjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC802Esl0aLC2lbJFIiHnELyqpKu/E9BcWu46EpOGMk/AIhAMILxbEniTSwsoMiRHz2S9AQkgPtgnMEUHx46hk5jw2D"}]},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-deep-populate-3.1.0.tgz_1517774111905_0.9971811727155"},"directories":{}},"3.1.1":{"name":"mongoose-deep-populate","version":"3.1.1","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^5.0.0"},"gitHead":"4c5946cc99b01529772599a0018118cf46a7976d","_id":"mongoose-deep-populate@3.1.1","_shasum":"561f7e88566cdf0697559c9fe190d581c9038442","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"dist":{"shasum":"561f7e88566cdf0697559c9fe190d581c9038442","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-3.1.1.tgz","integrity":"sha512-zdt2EeVwwK8e9PC429uAD7YTlSHEIhCtZK6CAVuX0FJnuiO8NUv8sjSpw3Kcvuqz5Ek65YUyqRxLTpQ2TkPblA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxCSeEhQmSMf4PmhzJoiCYMLol7cTUX86iTXsN3BlZJQIgCMkH3srj2PlARvdRWD5VbbQX+Os44DSun49JcpA+zH0="}]},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-deep-populate_3.1.1_1517978800501_0.11537579546041754"}},"3.2.0":{"name":"mongoose-deep-populate","version":"3.2.0","description":"Mongoose plugin to enable deep population of nested models","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"main":"index.js","scripts":{"test":"gulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db"},"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"license":"MIT","bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","devDependencies":{"async":"^0.9.0","chai":"^2.1.1","gulp":"^3.8.11","gulp-exit":"0.0.2","gulp-jshint":"^1.9.2","gulp-load-plugins":"^0.8.1","gulp-mocha":"^2.0.0","jshint-stylish":"^1.0.1","lodash":"^3.4.0","minimist":"^1.1.0","mongoose":"^5.0.0"},"gitHead":"1ddacc6db493e68033d0b52e9131de75af956a53","_id":"mongoose-deep-populate@3.2.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-MD77o0Wo1e+s8sipP9xRytDdEBX5mfJGRfGGLA1D378+o9mXgCES3+SZxKyhPe+xyLc30abxAX5CK36l9TdpJg==","shasum":"3abbdf42f63460f7c4a830da5ed31e1e4fd07abd","tarball":"https://registry.npmjs.org/mongoose-deep-populate/-/mongoose-deep-populate-3.2.0.tgz","fileCount":11,"unpackedSize":38410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe6t6/CRA9TVsSAnZWagAABlMP/311tKufjQTiGEY5hFHx\np5EwfKbELaKdl/oa7Y9ThBF4ynrigIQDCwMBpfVOF1mpkL0SRZjn5p/zUPV9\nxY7/QLARbSKw02VpeeYlM371PN+AcpsGwbjyTBPiIvElWlasB+3Z8bQ2D5hQ\ni/mETF5lPgqC9DXSj7SDWWVxUklR2PqAkpWRjN/SjGtwvkAk+jwQOfGlWMUB\nIMDSBgW/YY3rnRnDnibhI6RWpix8hGDriNMKdGC/rdQjo0iyyYR8RDL/4WHE\nERC5tT6qWUMlcnl1tjAa4Ix0TrfFMA7//2yOWOCUmnu91fP+OAbtTX4164wf\nwm3yHtFKjvdF+UOT25vAaiX9c3xdGKDzoabj9nEUXwn5zjo7vY2LmqPmW8aD\nXqqCKuHTMf7N0bttk1wVlA9w0ErGQ2GdvHQ4SX9L8u+ZpRXIWUPcccFR4AQo\nxCCYQuHDt00+X8RHdYACNUArCZ/66XOsMmpsjArd5HZxFUvubXPhc3DA5b0t\nRJsZyX1uOYWrmOT5vHQprgUkpzPJtEwfixHXzLPBzzB2jg5LGdxHcDsy4lJb\nJlONYHIO8NRql/5RRSv56RCE+pyoiRmrCxQTWdLvmt4gk2nforewbEyt3+nC\nQOfeFL/O+wns7OoayWF2d9MH3MIHHtMCPz1B9SaeQQP4Te04quKPxpjkcLnC\nWXho\r\n=zDn+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENZNdIA2RXESniFfZhmmxWmEtZx+dCmfdzZ7dQT/ZdIAiBufaFvIhBNDD1zCzt7+kiDE89Zrj6kdjScrm14ZV0qoQ=="}]},"maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"_npmUser":{"name":"buunguyen","email":"buunguyen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mongoose-deep-populate_3.2.0_1592450751168_0.6397576858914373"},"_hasShrinkwrap":false}},"readme":"Mongoose plugin to enable population of nested models at any level of depth. Support **Mongoose 3.8.x** and later. Refer to [changelog](https://github.com/buunguyen/mongoose-deep-populate#changelog) for breaking changes.\n\n[![NPM](https://nodei.co/npm/mongoose-deep-populate.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/mongoose-deep-populate)\n\n[![Build Status](https://travis-ci.org/buunguyen/mongoose-deep-populate.svg?branch=master)](https://travis-ci.org/buunguyen/mongoose-deep-populate)\n[![Code Shelter](https://www.codeshelter.co/static/badges/badge-flat.svg)](https://www.codeshelter.co/)\n\n### Usage\n\nSample usages are based on the following schemas:\n\n```javascript\nvar UserSchema = new Schema({})\n\nvar CommentSchema = new Schema({\n  user  : {type: Number, ref: 'User'}\n})\n\nvar PostSchema = new Schema({\n  user    : {type: Number, ref: 'User'},\n  comments: [{type: Number, ref: 'Comment'}],\n  likes   : [{user: {type: Number, ref: 'User'}}],\n  approved: {status: Boolean, user: {type: Number, ref: 'User'}}\n})\n```\n\n#### Register plugin\n\n```javascript\n// CHANGE from 1.x: need to pass in mongoose instance\nvar deepPopulate = require('mongoose-deep-populate')(mongoose);\nPostSchema.plugin(deepPopulate, options /* more on options below */);\n```\n\n#### Perform population\n\nOn `Post` model:\n\n```javascript\n\n// Use callback\nPost.deepPopulate(posts, 'comments.user', function (err, _posts) {\n  // _posts is the same instance as posts and provided for convenience\n  posts.forEach(function (post) {\n    // post.comments and post.comments.user are fully populated\n  });\n});\n\n// Use promise\nPost.deepPopulate(posts, 'comments.user').then(...);\n```\n\nOn an instance of `Post`:\n\n```javascript\n// Use callback\npost.deepPopulate('comments.user', function (err, _post) {\n  // _post is the same instance as post and provided for convenience\n});\n\n\n// Use promise\npost.deepPopulate('comments.user').then(...);\n```\n\nOn `Query` (returns the same query object to chain):\n\n```javascript\nPost.find().deepPopulate('comments.user').exec(function (err, posts) { ... });\nPost.findOne().deepPopulate('comments.user').exec(function (err, post) { ... });\nPost.findById(id).deepPopulate('comments.user').exec(function (err, post) { ... });\n```\n\n\n#### Populate multiple paths\n\nPass paths in a space- or comma-delimited string:\n\n```javascript\npost.deepPopulate('user comments.user likes.user approved.user', cb);\n```\nOr use an array of strings:\n\n```javascript\npost.deepPopulate(['comments.user', 'user', 'likes.user', 'approved.user'], cb);\n```\n\n#### Specify options\n\nSpecify `whitelist` option to ensure only certain paths can be populated. This is to prevent potential performance and security issues if you allow API clients to supply population paths.\n\n```javascript\nPostSchema.plugin(deepPopulate, {\n  whitelist: [\n    'user',\n    'comments.user'\n  ]\n});\n```\n\nUse the `populate` option to supply paths with corresponding [Mongoose populate options](http://mongoosejs.com/docs/api.html#model_Model.populate).\n\n```javascript\nPostSchema.plugin(deepPopulate, {\n  populate: {\n    'comments.user': {\n      select: 'name',\n      options: {\n        limit: 5\n      }\n    },\n    'approved.user': {\n      select: 'name'\n    }\n  }\n});\n```\n\nUse `rewrite` option to rewrite provided paths as well as paths in `whitelist` and `populate`. This is useful when you allow API clients to supply population paths (e.g. via query string) and want to make these paths more user-friendly. For example:\n\n```javascript\nPostSchema.plugin(deepPopulate, {\n  rewrite: {\n    author: 'user',\n    approver: 'approved.user'\n  }\n});\n\n// assume the query string is: ?populate=author,approver\npost.deepPopulate(req.query.populate, cb);  \n```\n\n##### Overriding options\n\nYou can override the above plugin options when invoking `deepPopulate`.\n\n```javascript\nPost.deepPopulate(posts, paths, {\n  whitelist: [],\n  populate: {},\n  rewrite: {}\n}, cb)\n\npost.deepPopulate(paths, {\n  whitelist: [],\n  populate: {},\n  rewrite: {}\n}, cb);\n\nPost.find({}).deepPopulate(paths, {\n  whitelist: [],\n  populate: {},\n  rewrite: {}\n}).exec(cb)\n```\n\n\n### Test\n\nThe test suite will **drop the database** each run, so only run it against a test database. To run tests, execute this command where `--db` is the connection string.\n\n```\ngulp test --db mongodb://127.0.0.1/mongoose_deep_populate_test_db\n```\n\n### Changelog\n\n#### v3.2.0\n\n* [Bug] Support async callback #70\n\n#### v3.1.1\n\n* [Bug] Fix issue custom Promise not work in Mongoose 5\n\n#### v3.1.0\n\n* [Feature] Support Mongoose 5\n\n#### v3.0.0\n\n* [Feature] Return a promise when invoking `deepPopulate()` on model or model instance.\n\n#### v2.0.3\n\n* [Bug] Fix bug cannot use native ES6 Promise\n\n#### v2.0.2\n\n* [Bug] Fix bug populating when there is a subdocument within a linked document (see #29)\n\n#### v2.0.0\n\n* [Breaking] Need a mongoose instance passed to the function returned by `require`\n* [Feature] Support mongoose promise provider\n\n#### v1.1.0\n\n* [Feature] Make mongoose a peer dependency to enforce supported versions\n\n#### v1.0.2\n\n* [Bug] Fix bug happening when Mongoose#populate does not infer the expected schema\n\n#### v1.0.1\n\n* [Bug] Apply `lean` to populated documents\n\n#### v1.0.0\n\n* [Feature] Apply `rewrites` to `whitelist` and `populate`\n\n#### v0.0.7\n\n* [Feature] Add `deepPopulate` to `Query`\n* [Feature] Support space delimiter in paths\n\n#### v0.0.6\n\n* [Feature] Support populate options\n* [Feature] Override options per call\n* [Bug] Handle null paths and callback\n\n#### v0.0.1\n\n* Initial release\n\n\n### License\n\nMIT\n","maintainers":[{"name":"buunguyen","email":"buunguyen@gmail.com"}],"time":{"modified":"2022-06-20T07:02:50.534Z","created":"2014-11-04T02:36:46.752Z","0.0.1":"2014-11-04T02:36:46.752Z","0.0.2":"2014-11-04T04:52:30.015Z","0.0.3":"2014-11-05T02:05:26.669Z","0.0.4":"2014-12-10T05:07:03.985Z","0.0.5":"2014-12-10T18:20:49.869Z","0.0.6":"2014-12-12T22:42:15.028Z","0.0.7":"2015-01-04T18:49:15.754Z","1.0.0":"2015-02-18T20:59:25.013Z","1.0.1":"2015-03-10T16:21:54.761Z","1.0.2":"2015-03-24T18:19:08.690Z","1.1.0":"2015-04-07T21:04:27.544Z","2.0.0":"2015-08-11T22:12:57.548Z","2.0.1":"2015-08-21T18:46:02.290Z","2.0.2":"2015-10-05T23:14:26.957Z","2.0.3":"2015-10-29T21:23:28.045Z","3.0.0":"2016-03-08T23:40:41.379Z","3.1.0":"2018-02-04T19:55:12.003Z","3.1.1":"2018-02-07T04:46:40.583Z","3.2.0":"2020-06-18T03:25:51.292Z"},"homepage":"https://github.com/buunguyen/mongoose-deep-populate","keywords":["mongo","mongodb","mongoose","populate","population","deep populate","deep population","models","nested models","populate models","model population","documents","nested documents","populate documents","documents population"],"repository":{"type":"git","url":"git+https://github.com/buunguyen/mongoose-deep-populate.git"},"author":{"name":"Buu Nguyen","email":"buunguyen@gmail.com","url":"https://github.com/buunguyen"},"bugs":{"url":"https://github.com/buunguyen/mongoose-deep-populate/issues"},"license":"MIT","readmeFilename":"README.md","users":{"koslun":true,"irobert91":true,"crazyjingling":true,"gerardobort":true,"eviratec":true,"dworden":true,"nelix":true,"icerainnuaa":true,"lonjoy":true,"mhaidarh":true,"pshift":true,"wangshijun":true,"jiggy1com":true}}