{"_id":"@watchup/hapi-mongoose","_rev":"27-9385edd072c654c0d91cf62f7a3ddd25","name":"@watchup/hapi-mongoose","time":{"modified":"2022-06-13T01:35:55.415Z","created":"2015-07-14T07:56:38.970Z","0.0.1":"2015-07-14T07:56:38.970Z","0.0.2":"2015-07-14T08:02:58.530Z","0.0.3":"2015-07-14T08:25:32.186Z","0.0.4":"2015-07-14T08:36:16.375Z","0.0.5":"2015-07-14T08:42:34.530Z","0.0.6":"2015-07-14T08:54:21.250Z","0.0.7":"2015-07-14T09:11:58.582Z","0.0.8":"2015-07-14T09:42:48.747Z","0.1.0":"2015-07-14T10:03:33.864Z","0.2.0":"2015-07-21T09:54:04.119Z","0.3.0":"2015-07-30T08:19:07.459Z","0.4.0":"2015-08-04T13:43:28.208Z","0.5.0":"2015-08-20T07:27:37.848Z","0.6.0":"2015-10-22T09:39:19.425Z","0.6.1":"2015-10-22T10:22:09.730Z","0.6.2":"2015-10-22T12:15:08.632Z","0.6.3":"2015-11-02T09:31:11.102Z","0.6.4":"2015-11-02T16:50:14.257Z"},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"dist-tags":{"latest":"0.6.4","beta":"0.1.0"},"description":"A library that maps mongoose models to hapi routes","readme":"# Summary\n\nA Hapi.js plugin that maps mongoose models to routes written in TypeScript 1.4\n\n# Quick Example\n\n\tvar hapiMongoose = require('../dist/lib');\n\tvar hapi = require('hapi');\n\tvar mongoose = require('mongoose');\n\n\tvar myModel = mongoose.model('myModel', new mongoose.Schema({\n\t\tname: String\n\t}));\n\n\tvar server = new hapi.Server();\n\tserver.connection({port: 3000});\n\n\tserver.register({\n\t\tregister: new hapiMongoose.HapiPlugin(), options: {\n\t\t\tresources: [myModel],\n\t\t\tpath: '/api'\n\t\t}\n\t});\n\n\tserver.start(function () {\n\tconsole.log('Server running at:', server.info.uri);\n\t});\n\n# Details\n\nThe plugin has two components:\n\n- a model wrapper called Resource\n- the hapi plugin\n\n\n## Resources\n\nA resource is a mongoose model wrapper that adds extra information, like allowed methods or model fields\nto help the hapi plugin to map the routes or to add some error handling.\n\nWrap a mongoose model in a resource:\n\n\tvar resource = new hapiMongoose.Resources.Resource(myModel, resourceOptions);\n\nResource options:\n\n    var options = new hapiMongoose.Resources.ResourceOptions();\n\n    /* The default resource options\n    // Set a custom name\n    options.name = 'car';\n    // or\n    options.name = { singular: 'person', plural: 'people' };\n\n    // Enable all methods\n    options.methodAccess.getList = true;\n    options.methodAccess.getItem = true;\n    options.methodAccess.post = true;\n    options.methodAccess.put = true;\n    options.methodAccess.patch = true;\n    options.methodAccess.delete = true;\n\n    // Field aliases\n    options.alias._id = 'id'; // aliased by default\n\n    // Hide some fields\n    options.exposed: {\n    // name: false\n    };\n\n    // Pagination\n    options.pagination.limit = 10; // default page size\n    */\n\n## Hapi plugin\n\nThe hapi plugin binds the resources to the hapi server.\n\nCreating a plugin:\n\n\tvar plugin = new hapiMongoose.HapiPlugin();\n\tvar pluginOptions = {\n\t\t\tresources: [resource],\n\t\t\tpath: '/api'\n\t};\n\n\tserver.register({ register: plugin, options: pluginOptions }, function (err) {\n\t\t\tif (err) {\n\t\t\t\t\tconsole.error(err);\n\t\t\t}\n\t});\n\nHapiMongoose.IOptions has two members: 'resources' and 'path'\n\n- *resources* property is a list of _mongoose.Model<any>_ or _HapiMongooseResource.Resource_. If _mongoose.Model<any>_ objects are provided, they will be wraped automatically in _HapiMongooseResource.Resource_ with the default options\n\n- *path* the base path for the resources routes.\n\n\nThe plugin will register the following routes:\n\n- GET    */{path}/{model name}*      \t\t\t\t\t\tto retreive a list of all the elements from a model\n- GET    */{path}/{model name}*?page[offset]={offset}&page[limit]={limit}      paginate a model\n- GET    */{path}/{model name}*?project={fieldName,...}     project one or more fields\n- GET    */{path}/{model name}*?search={value}     \t\t\tsearch in model\n- GET    */{path}/{model name}*?query[field]={value}     \tquery the model\n- POST   */{path}/{model name}*      \t\t\t\t\t\tto create a new resource\n- GET    */{path}/{model name}/{id}* \t\t\t\t\t\tto retreive the resource with id\n- PUT    */{path}/{model name}/{id}* \t\t\t\t\t\tto replace a resource\n- PATCH  */{path}/{model name}/{id}* \t\t\t\t\t\tto update certain fields\n- DELETE */{path}/{model name}/{id}* \t\t\t\t\t\tto delete a resource\n\n## Setup and compile\n\nThis library is written in TypeScript. If you want to use it with JavaScript you\nhave to compile the files first.\n\n\tnpm install\n\ttsd install\n\tgrunt\n\nThe compiled library will be exported to dist/lib\n","versions":{"0.1.0":{"name":"@watchup/hapi-mongoose","version":"0.1.0","description":"A library that maps mongoose models to hapi routes","main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"szabo bogdan","email":"bogdan@watchup.com"},"license":"watch.up","bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.0-beta","mocha":"2.2.5","should":"7.0.1","typescript":"git://github.com/Microsoft/TypeScript.git#a78421fea0c6b51f78f42842d8ae8333490903bf"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14"},"gitHead":"13c4a6684e483b259cd049a1969e40dea12131ff","homepage":"https://github.com/watchup/hapi-mongoose#readme","_id":"@watchup/hapi-mongoose@0.1.0","_shasum":"2e6122d4456bd4a531ee679af42b6e7c8c8fc5e6","_from":".","_npmVersion":"2.13.0","_nodeVersion":"0.12.7","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"2e6122d4456bd4a531ee679af42b6e7c8c8fc5e6","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.1.0.tgz","integrity":"sha512-4CSC5If3TxId7m1TC8YrIIe8HHdx1kn50toq59+HElxvc5Tn6VeCV4ysacR9TivWWF2eGVgPhEDi1TB64SaDHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8mDV5wwHfZBI56LXieCfsLmB+JYXSdInHxtP9eVZ9WwIgSOxI8Nt7Bdh/rn15CKhJJDbDO3NWUWY3xQhOjHsCTj4="}]},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.0.8.tgz"},"0.2.0":{"name":"@watchup/hapi-mongoose","version":"0.2.0","description":"A library that maps mongoose models to hapi routes","main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"watchup","email":"engineers@watchup.com"},"license":"watchup","bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.0-beta","mocha":"2.2.5","should":"7.0.1","typescript":"git://github.com/Microsoft/TypeScript.git#a78421fea0c6b51f78f42842d8ae8333490903bf"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14"},"gitHead":"13c4a6684e483b259cd049a1969e40dea12131ff","homepage":"https://github.com/watchup/hapi-mongoose#readme","_id":"@watchup/hapi-mongoose@0.2.0","_shasum":"c5bcb6d68a5daed8790fbf3e0e7a1d1f029a8fc9","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.32","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"c5bcb6d68a5daed8790fbf3e0e7a1d1f029a8fc9","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.2.0.tgz","integrity":"sha512-Gyr9f2MI3O/WpPO8JKbaGwGJzkXIT0N8AxmH595oR4Njs6kxmrqiFId24j/RcE3mD7bnaN809JIIcKz5Mxy43Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyF6jbnRUI+sh+Jxljz7iX+W9rVc3z3P0wAGJ68ZxFyAiEAnf/Pkb0IkGAoSkvUufHeToiEoxkWbzlIJL5aC5REAW8="}]},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.0.8.tgz"},"0.3.0":{"name":"@watchup/hapi-mongoose","version":"0.3.0","description":"A library that maps mongoose models to hapi routes","main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"watchup","email":"engineers@watchup.com"},"license":"watchup","bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"gitHead":"13c4a6684e483b259cd049a1969e40dea12131ff","homepage":"https://github.com/watchup/hapi-mongoose#readme","_id":"@watchup/hapi-mongoose@0.3.0","_shasum":"4516f97fb41b97093b5d8c69c8b7f395555de483","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"4516f97fb41b97093b5d8c69c8b7f395555de483","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.3.0.tgz","integrity":"sha512-I5vRN+jTMiIAnYHb1eNxwDyGoZPR0+2jzmdLh53FwjKT0+FvKPAo1tg9Z3tZAI11JBy8XgiUmQjSmgRPASmpyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjKjR/8/7SQAYwc98GWuyPJRhTmN5TSzM9ubKREhCl2gIhAMKy+dYJ3MtIyPNy7HIGwDXJc7txBQaaFOxC61FiR0D9"}]},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.0.8.tgz"},"0.4.0":{"name":"@watchup/hapi-mongoose","version":"0.4.0","description":"A library that maps mongoose models to hapi routes","main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"watchup","email":"engineers@watchup.com"},"license":"watchup","bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"gitHead":"13c4a6684e483b259cd049a1969e40dea12131ff","homepage":"https://github.com/watchup/hapi-mongoose#readme","_id":"@watchup/hapi-mongoose@0.4.0","_shasum":"0d49b63f0d3f7ae4816bc18c8558aa07b59d5e69","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"0d49b63f0d3f7ae4816bc18c8558aa07b59d5e69","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.4.0.tgz","integrity":"sha512-sk2DztQy7H3jLEBynQFyjk6t7eqJL7XATsWE+t5vcFDB72yc4w4QtF0hsc36uPCCbmioBgv2Phyk/nBD2KESLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBsvTkA0IlQs2t7ArckrfIdUL1sHRTSBuhUhe7xIexH3AiB8VLhRMkGQtfHa4rQV3w6zGbk8dFTZu605XwVynUzvDw=="}]},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.0.8.tgz"},"0.5.0":{"name":"@watchup/hapi-mongoose","version":"0.5.0","description":"A library that maps mongoose models to hapi routes","main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"watchup","email":"engineers@watchup.com"},"license":"watchup","bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"gitHead":"13c4a6684e483b259cd049a1969e40dea12131ff","homepage":"https://github.com/watchup/hapi-mongoose#readme","_id":"@watchup/hapi-mongoose@0.5.0","_shasum":"3446b76ec3a2f322cae45ab1f88460b0018de8bc","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"3446b76ec3a2f322cae45ab1f88460b0018de8bc","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.5.0.tgz","integrity":"sha512-54GiJEZiSzV7eAV6e9Mlsd3H3hPQH50zzCtY+wf27BmHfsXVnfR+trxXQeIa/uuEnSpVQbemgnCzDf8EKuCXuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEV/XIe/HsRvbSJ0RJ+UCA2zaOF5cL2AXt5aMtbhGBCvAiEA+yVM9vEUyv93APFDHS2KlMI0lGA8qq3nM4WazZOgSZo="}]},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.0.8.tgz"},"0.6.0":{"name":"@watchup/hapi-mongoose","version":"0.6.0","description":"A library that maps mongoose models to hapi routes","main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"watchup","email":"engineers@watchup.com"},"license":"watchup","bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"gitHead":"13c4a6684e483b259cd049a1969e40dea12131ff","homepage":"https://github.com/watchup/hapi-mongoose#readme","_id":"@watchup/hapi-mongoose@0.6.0","_shasum":"f04fd57373a8170e55077dc88a560a151899370a","_from":".","_npmVersion":"3.3.8","_nodeVersion":"0.10.40","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"f04fd57373a8170e55077dc88a560a151899370a","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.0.tgz","integrity":"sha512-T6LK1teG8PlVG8w4v4B/TybWhexj+PiMgls5QaGDJE+fgqlPZIrVkSV8pb6f9AQZ17xTgUoQrGiFa9DxwQLIWA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQDR0V9JT1KlBhrwCsukVi5CxJuPZ+Purj86ueA4IyTsNAIfJB8FqzVtbsjAW98lU5iIyzJh5S3MIUYXEe5y0yYQXw=="}]},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.0.8.tgz"},"0.6.1":{"name":"@watchup/hapi-mongoose","version":"0.6.1","description":"A library that maps mongoose models to hapi routes","main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"engines":{"node":">= 0.10.0"},"repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"watchup","email":"engineers@watchup.com"},"license":"watchup","bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"gitHead":"13c4a6684e483b259cd049a1969e40dea12131ff","homepage":"https://github.com/watchup/hapi-mongoose#readme","_id":"@watchup/hapi-mongoose@0.6.1","_shasum":"0685f3daef69de9926f158de6db2eb2c97a239e1","_from":".","_npmVersion":"3.3.8","_nodeVersion":"0.10.40","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"0685f3daef69de9926f158de6db2eb2c97a239e1","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.1.tgz","integrity":"sha512-eTjeB17jqLUbZwhcRVKoJwbyHzE8kqRg8Vpal3vsKc+Mi33n3uYhpYdfA7mhnR/f4ffnQPruL/ZZkc1EkXGPtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEGYCpjKcIp4Gkrh48bDl6g6mEwWz1+5BENQuSyOTUBAiEAnAF/3gYHw2H7QMB0pbLPiV8esn+gwyEEwrZaZ2suIQg="}]},"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.0.8.tgz"},"0.6.2":{"name":"@watchup/hapi-mongoose","version":"0.6.2","description":"A library that maps mongoose models to hapi routes","keywords":["hapi","mongoose","hapi-mongoose"],"homepage":"https://github.com/watchup/hapi-mongoose#readme","license":"MIT","repository":{"type":"git","url":"git+https://github.com/watchup/hapi-mongoose.git"},"bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"author":{"name":"watchup","email":"engineers@watchup.com"},"contributors":[{"name":"Bogdan Szabo","email":"bogdan@watchup.com","url":"https://github.com/gedaiu"},{"name":"Adriana Saroz","email":"adriana@watchup.com","url":"https://github.com/adriana-saroz"},{"name":"David Charbonnier","email":"david@watchup.com","url":"https://github.com/dcharbonnier"}],"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"engines":{"node":">= 0.10.0"},"gitHead":"5ddc9dfeaa2f19646387d3ad740e20809905053a","_id":"@watchup/hapi-mongoose@0.6.2","_shasum":"884038822e77bc52e48352d24449e44153418962","_from":".","_npmVersion":"3.3.8","_nodeVersion":"0.10.40","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"884038822e77bc52e48352d24449e44153418962","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.2.tgz","integrity":"sha512-bhG7Jq2tIf1beES9SjBponu3F6bD5+bPgq94ILn8SFP0JJUo/nVlm2WtqWDUdvKK7byBMdXMeYV8f5KjsGzjPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+7mwaeLTM3qkYKyoQd+2lJWziJOqlLsfdR42UEuoYRAIhANj9I3moZAdde4kDBd+CtQfnOHCjzl6JskdIhn9Ysl0g"}]},"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.2.tgz"},"0.6.3":{"name":"@watchup/hapi-mongoose","version":"0.6.3","description":"A library that maps mongoose models to hapi routes","keywords":["hapi","mongoose","hapi-mongoose"],"homepage":"https://github.com/watchup/hapi-mongoose#readme","license":"MIT","repository":{"type":"git","url":"https://github.com/watchup/hapi-mongoose.git"},"bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"author":{"name":"watchup","email":"engineers@watchup.com"},"contributors":[{"name":"Bogdan Szabo","email":"bogdan@watchup.com","url":"https://github.com/gedaiu"},{"name":"Adriana Saroz","email":"adriana@watchup.com","url":"https://github.com/adriana-saroz"},{"name":"David Charbonnier","email":"david@watchup.com","url":"https://github.com/dcharbonnier"}],"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"engines":{"node":">= 0.10.0"},"gitHead":"5ddc9dfeaa2f19646387d3ad740e20809905053a","_id":"@watchup/hapi-mongoose@0.6.3","_shasum":"8fbd50133a4b7899d1a51e43d857aad9a69cd012","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"8fbd50133a4b7899d1a51e43d857aad9a69cd012","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.3.tgz","integrity":"sha512-4MPqmhCAB5o4AuOhn3BR5hKPEq2e8ZiNlaEZ56c3wXOC9yZVkAEQ8Oamt6lc470boKRinfMSm0SffMUHiRYeIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD8oOX7VIPs+jK1V7Ih8AWYpeM0/tA/U5jKHqtgu+fvQIhANyWYfIVcHiyI8s+z6GT6vPmGQbWoL9l2BjMIHXCWYmj"}]},"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.3.tgz"},"0.6.4":{"name":"@watchup/hapi-mongoose","version":"0.6.4","description":"A library that maps mongoose models to hapi routes","keywords":["hapi","mongoose","hapi-mongoose"],"homepage":"https://github.com/watchup/hapi-mongoose#readme","license":"MIT","repository":{"type":"git","url":"https://github.com/watchup/hapi-mongoose.git"},"bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"author":{"name":"watchup","email":"engineers@watchup.com"},"contributors":[{"name":"Bogdan Szabo","email":"bogdan@watchup.com","url":"https://github.com/gedaiu"},{"name":"Adriana Saroz","email":"adriana@watchup.com","url":"https://github.com/adriana-saroz"},{"name":"David Charbonnier","email":"david@watchup.com","url":"https://github.com/dcharbonnier"}],"maintainers":[{"name":"watchup","email":"engineers@watchup.com"}],"main":"dist/lib/index.js","directories":{"test":"dist/test","lib":"dist/lib","example":"example"},"scripts":{"test":"grunt test","prepublish":"grunt test && grunt"},"dependencies":{"async":"1.3.0","boom":"2.8.0","hapi":"8.6.1","lodash":"3.9.3","mongoose":"4.0.6","path":"0.11.14","promise":"7.0.3"},"devDependencies":{"grunt":"0.4.5","grunt-mocha-test":"0.12.7","grunt-ts":"4.2.0-beta.1","grunt-tsd":"0.2.0-beta.1","grunt-tslint":"2.3.1-beta","mocha":"2.2.5","should":"7.0.1","typescript":"1.5"},"engines":{"node":">= 0.10.0"},"gitHead":"5ddc9dfeaa2f19646387d3ad740e20809905053a","_id":"@watchup/hapi-mongoose@0.6.4","_shasum":"a9383d924156a8e287d1e73d89c4f64ca392729a","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"watchup","email":"engineers@watchup.com"},"dist":{"shasum":"a9383d924156a8e287d1e73d89c4f64ca392729a","tarball":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.4.tgz","integrity":"sha512-VSoER313de64NC76F0cGjzCGuRvMfwt4o19T0fMVz5AaPIjv4aAe6bo9IpQn56JkIQaVhWA9TW5PzsgVYalBqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/sMvRxkCyCal57nUdDIw+1d2a6k9sHMzGfMqejg6IMQIhANQv7U9/SOebU60sSAF/bgEjcS+nH7pDVyuc1/lUf7C3"}]},"_resolved":"https://registry.npmjs.org/@watchup/hapi-mongoose/-/hapi-mongoose-0.6.4.tgz"}},"homepage":"https://github.com/watchup/hapi-mongoose#readme","repository":{"type":"git","url":"https://github.com/watchup/hapi-mongoose.git"},"author":{"name":"watchup","email":"engineers@watchup.com"},"bugs":{"url":"https://github.com/watchup/hapi-mongoose/issues"},"license":"MIT","readmeFilename":"README.md","users":{"watchup":true},"keywords":["hapi","mongoose","hapi-mongoose"],"contributors":[{"name":"Bogdan Szabo","email":"bogdan@watchup.com","url":"https://github.com/gedaiu"},{"name":"Adriana Saroz","email":"adriana@watchup.com","url":"https://github.com/adriana-saroz"},{"name":"David Charbonnier","email":"david@watchup.com","url":"https://github.com/dcharbonnier"}]}