{"_id":"ne-data","_rev":"26-390d09df149cbb059b8541b833629e11","name":"ne-data","description":"description","dist-tags":{"latest":"1.9.4"},"versions":{"1.0.2":{"name":"ne-data","version":"1.0.2","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4"},"gitHead":"375b49304026125c4b46cdf87ce9fc24955db06a","_id":"ne-data@1.0.2","_shasum":"1d3249f88e379da201d6cdbcbd74f939020e49df","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"1d3249f88e379da201d6cdbcbd74f939020e49df","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.0.2.tgz","integrity":"sha512-hJvwz4ywfLJ7BgpAr28Mt1RastHeATY2fqQUWdsH/I9sJVxEHoh1xdqO5b+VYQfRa5x7M9b10VBEmfS+6SmA1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCc5Hj7CFNeAP9r1FORdaHPJbAv9308TVYMtRW7G68zJAIhAL6NwwdLMGQdeDLMLerojk+3EOzMiU8VJo/eSpCrG5A3"}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.1.0":{"name":"ne-data","version":"1.1.0","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"a5aef9a1f29223cf85454bba603fdfef1e4540bf","_id":"ne-data@1.1.0","_shasum":"805fc152a50b76c8b827d404a4b4fe9d52732ca9","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"805fc152a50b76c8b827d404a4b4fe9d52732ca9","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.1.0.tgz","integrity":"sha512-C9nHrxmYdKfSQCMyfMwF3S5TINkjrH9d9fQ6B3daWKs73VfSXgwqfuONm7rqmoLHyeW0/olxkGMSryI2jkcGhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBt3yrnsIZ7Ygq0UpFDm0f3QatM1gSVX89JZ5dhcoAIEAiEA/hy1wWGm8NxdeBZ/ubeDAUAZFYChzUKZcD32VWpFzGw="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.1.1":{"name":"ne-data","version":"1.1.1","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"3bfffd929d31172b837be644b566fa585995ecf2","_id":"ne-data@1.1.1","_shasum":"167be97632d8971fd727b0f647eccb3220fc91d1","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"167be97632d8971fd727b0f647eccb3220fc91d1","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.1.1.tgz","integrity":"sha512-ou327IqG24uNJ+phlNnfHs0Qo1lq54PYSXMzLasg8SNIfr2WZ3ZC2rMf2aFnwk5WhH4+uSB943q6dRPyrt8GRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGvdPQwjt7Xg/dsOtOSj3zlGR7f5zoKG9J+voVb6S1nAiEAsHEzFf9fRnK7BYz/JZQbu6735B7/wZDHcMyEQLB7L80="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.2.0":{"name":"ne-data","version":"1.2.0","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"2c31294ff2c81974111d21a798966f90733db891","_id":"ne-data@1.2.0","_shasum":"c044842d8d51148125f018087144139fc919135e","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"c044842d8d51148125f018087144139fc919135e","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.2.0.tgz","integrity":"sha512-GIFjun4u8Cqm3+j1o7oTbrtCNR/yvT4ObfDZgkgxVYt3DdzGPdoFMbE91femErPS4S5PFW5XFvCuD2EI7AMZqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZE5GaKvnd0GdQb/HeMgLvTEN9zZCNLJx/K3IPmibRxAiEAtlHrWl3HKb6EjuWiZnUfF4QarfFHB3De4ofQiqcn974="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.3.0":{"name":"ne-data","version":"1.3.0","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"e947472a5bde024e77c6f6f7a30c4beaf48585ee","_id":"ne-data@1.3.0","_shasum":"a8e59dd5a73f7f97f6c891a370e7ae17ce0553bb","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"a8e59dd5a73f7f97f6c891a370e7ae17ce0553bb","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.3.0.tgz","integrity":"sha512-z7MLLuNgq7zv/Y6BK0Sl2dKNnd7T2I8NrF2qSeXEcF0yh7sEgnCZDlIVyZ+oHS00y36YKfhQ55c5to59p08p7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDERr6LNQYFrewrJScVKRIvsTso9osmDHY5Uw5RwLVqFgIhAMNgJByze6Z2VcCWa1eHEyOdIyvRUCKiLlbF5+7XvXHW"}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.3.1":{"name":"ne-data","version":"1.3.1","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"ef92ff784a62a163d03f7636ba64eeec20b51379","_id":"ne-data@1.3.1","_shasum":"b256e633246f22ac69d8b82c18a43489e7f9ca1e","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"b256e633246f22ac69d8b82c18a43489e7f9ca1e","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.3.1.tgz","integrity":"sha512-5aiM5QtL8Ll6MDU54DJEXdMzPtLebtAo4pFoGi4wUJ7i802FejjLm6bbX6dDbofktblOn8wVw8ca0ZoYB/6yKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSet9sWa1WAkv7T3kwu1j3R1HMl5SxAtL5WWoqQDcZHgIgfy7kjL7P5przRLdttNJrwNcA5Px/o5ez434jin46aIE="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.3.2":{"name":"ne-data","version":"1.3.2","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"11c50c3bf9a8bf48878ad68297226e520a5e1f2b","_id":"ne-data@1.3.2","_shasum":"342219f1cc8e60d202a6e769f3b7cd4512f62f4b","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.12.7","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"342219f1cc8e60d202a6e769f3b7cd4512f62f4b","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.3.2.tgz","integrity":"sha512-C/Vx5zNjqn+EO77zJRiECxJWZmpUhVvu7CPxTExuYbbjxXa2mDbVcRnm+rbObqKsagDu0YIZKCcAFSgX6pv+pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEo1WYTspucnzDXhA0Mvw2BXC+A3khSaNciZHZi3qIJLAiEA0YE7HXIOtFcCRa4+lWLsCLv0R7+k3qjJll6LC5AwdhM="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.3.3":{"name":"ne-data","version":"1.3.3","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"af90fe8a254b11c42ff80f2b2f5f4740172a5268","_id":"ne-data@1.3.3","_shasum":"295229f355cf565b42f8697dc6376fb187eef605","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"295229f355cf565b42f8697dc6376fb187eef605","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.3.3.tgz","integrity":"sha512-P781RQqcWmrF1HIG1AkmiKuKU6iuckfmWwhgm5nVFJdb2x2HhxHZQLMIbyqEq96AZVbC3GAZzewQiwtUGzvdPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDe6T5cFj8avbXhFYfmnnK86J7g4CclDm476BS+TVGAIAiAt4Cm6UNqMNKvwPCMaZcOhNcKzeq7ZLFnGq61pZ+TmNA=="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.3.4":{"name":"ne-data","version":"1.3.4","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"7d717e96fcba58642bb636431ff84a064f824ee6","_id":"ne-data@1.3.4","_shasum":"40e130c1fd3752e5183b48d32f6eb7092c38438d","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"40e130c1fd3752e5183b48d32f6eb7092c38438d","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.3.4.tgz","integrity":"sha512-gSdyYikc6Hh7zEGnmM7qEI2wHmbiHWnHPH0s5DvTFeKh0pKwSGCbIsnMj8mkqMOmWqhzR+IaSiq/zCV/QHj57w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDr/T9Di3pR0KjX9U/SM1c0bNq0VN7dAoNA+NSiAIDZVAiEAmfYFuGdMmiatdm8z0MLPfAgm3WZxBzkWN4MPHczVPjE="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.3.5":{"name":"ne-data","version":"1.3.5","description":"A tool to request data from api's for pages using the Node Engine methodology","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"axios":"^0.5.4","lodash":"^3.10.1"},"gitHead":"0ae5710017d332c3789429123f7594a9249fe2d5","_id":"ne-data@1.3.5","_shasum":"a695c5575a7ac44be944142024cc13bb4952c5ac","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"a695c5575a7ac44be944142024cc13bb4952c5ac","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.3.5.tgz","integrity":"sha512-MMJW0MkilPTOX3mBCU5UIcDTgTnLZsYE5dNEcfQJN+HQ/GH/b7NwBFtNiSDrBbBXYor3DiCRFVEIA9vqewvRTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiV6g58ybf1BAFtDx4I0DC36RujmBbspv4cRxUnXpCtgIgITcYgdSSwpWCIdYSGUrInCPp3TYJFeADGsKxuhhDpeU="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.0.0":{"name":"ne-data","version":"1.0.0","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"lodash":"^3.10.1"},"gitHead":"2cb764aeeb0d5514d60743ba24c7313569ed6852","_id":"ne-data@1.0.0","_shasum":"f2926268a422fc28c87290328df05150daeed702","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"f2926268a422fc28c87290328df05150daeed702","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.0.0.tgz","integrity":"sha512-+CmSJ3g/oAnPLk/u6D5yj4CGrKzIr67XZ7WipQha38lFRETa8SyPhXNQPg5aN3HL68xCd2K1ReU3shTTZSNGng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmrBW/8YIccnAPfyTjxdv06JNgLQ3l3h3dIheIPDxGHQIgGFj1aT9nAtO+gfS9BKSBsaSlUAEn+OzkfdanAUrSoXQ="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.4.0":{"name":"ne-data","version":"1.4.0","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"lodash":"^3.10.1"},"gitHead":"2cb764aeeb0d5514d60743ba24c7313569ed6852","_id":"ne-data@1.4.0","_shasum":"7bd65450b74b4561baeb1eb38c3b5de5eb81a108","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"7bd65450b74b4561baeb1eb38c3b5de5eb81a108","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.4.0.tgz","integrity":"sha512-ZBZrfr5SrXyEWm8VXGqXjGO06Ms4xfSDx+RB/NZOx0+idjRIhvMX0pQERAxCmT13YKfhsGiPdZ2TK8LDja9/+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6uR0Ga1GzHl07iAIOv3kPxvLcdLCZphXj+K8kZ6L8dAiEA5ntLctdiEEsKCxZWCtq0g/OCMMVhxmNYtxvTcBbetrQ="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.4.1":{"name":"ne-data","version":"1.4.1","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"^1.2.0","passport-http-bearer":"^1.0.1"},"gitHead":"d3532e001d8ed72b2d988f78ab420e5409c420ed","_id":"ne-data@1.4.1","_shasum":"83fd96adee427f449ad8747a7b4b76ea1a5844c5","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"83fd96adee427f449ad8747a7b4b76ea1a5844c5","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.4.1.tgz","integrity":"sha512-4IlN2T2Q1Dea5Oe3kXB7qyGEGlkU43cVM2M0CHuJ9WKH045zM3d0supYjqxw1LoCteQ/lU6f1aYy3aWipbGMTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfC6g4bYxTzh9G5lqe7i2w+NGMA3vEbgk6txkymIY5vgIhAIXiOX1GhUvt8ATPFlTpicxo89aIuQHEh797VHR/D9KY"}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.5.0":{"name":"ne-data","version":"1.5.0","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"^1.2.0","passport-http-bearer":"^1.0.1"},"gitHead":"d445ae0bdfda0ea644d913716adcebcf3eebf536","_id":"ne-data@1.5.0","_shasum":"2dc3be08d706463e2dc949694ffc9b9d0185776a","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"2dc3be08d706463e2dc949694ffc9b9d0185776a","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.5.0.tgz","integrity":"sha512-A5AnPjnG6jDjUGMVFUgYoEW/E2BY9ysC4ooMGiDCqqFyz8AcbPVkjq+n3E++NymOUqLNTkIjwkYaX6QfIjAEfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9L9b3C4xyRVM7YHyctST1XwZ9Py/MMtuSIqzqm6BydgIhALJsLInbpamB0dqcwy4MnvHt03dwZQnRyQFZiQ0AUKYY"}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.6.0":{"name":"ne-data","version":"1.6.0","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"^1.2.0","passport-http-bearer":"^1.0.1"},"gitHead":"3818ec417bda2f36ee03a49d087846d34f720d12","_id":"ne-data@1.6.0","_shasum":"2d75613a6333fa85ae7fa2f8230519e9962a5435","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"2d75613a6333fa85ae7fa2f8230519e9962a5435","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.6.0.tgz","integrity":"sha512-RpnouvH5gXDWemEi06kNq1simeMHbwo+W9DDw5aYmg0FE17PRyDwkrtEqBxydi6n9njQdG6S6P/Ay0iX5Dawhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAbsKUExfZ00ZNT6vosTeajKHKl/rPQTW7C7o1KoiDLmAiEAuS54nPddoEkp9g5MWyKgk6MaU+9XwYfvOZ9iyw79OEc="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.7.0":{"name":"ne-data","version":"1.7.0","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"^1.2.0","passport-http-bearer":"^1.0.1"},"gitHead":"90d3d5bfb705817eedaddfa17484a49d02a2a7c7","_id":"ne-data@1.7.0","_shasum":"41928b62ba8ca5099447718979c0d5c2800b6d0b","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"41928b62ba8ca5099447718979c0d5c2800b6d0b","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.7.0.tgz","integrity":"sha512-TtYCJCI4Bg1EdaVXG8qcrFczsUeUqmoLwsxe9j6FPFfNIuUY7bgwCym68ZWUH0zsyYzIfO+pBD9BR1I34w8cVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsGcxrP7Bbs/Q+uYh2S1lEwJaziE0LdFlI7vgkZPqm0wIgfHbxkqfxtvTorgc7IdRkbClfQk700vssXvwAYNob+tU="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.8.0":{"name":"ne-data","version":"1.8.0","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"^1.3.0","passport-http-bearer":"^1.0.1"},"gitHead":"ba8edec16b7ec0783743d7e1f06a01bcc37f3e3f","_id":"ne-data@1.8.0","_shasum":"85d6d05156b0583769be37cbddcae063d7c4865a","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"85d6d05156b0583769be37cbddcae063d7c4865a","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.8.0.tgz","integrity":"sha512-AibbhrCxFGr4n6rFSb0xTuwU7BEDRNryLhZaIF6PwFZM+ja1FNGtHFqw25EsLhuXQFNLWq4eBUA3b0UrbyCzLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSyN9dIsxrNh4i2Flxuq0GRpeOfvK7wzVboU9avHOFswIgX7oWHYt7JgPAJ7C4SIlfqnUi3/sC6prVI1QtK6EyXB4="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.8.1":{"name":"ne-data","version":"1.8.1","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"^1.3.0","passport-http-bearer":"^1.0.1"},"gitHead":"3e928ad717c6ee55c6556b1dfe9f3049f3d2292f","_id":"ne-data@1.8.1","_shasum":"32aefbd77394b396289665d2d5af8c39a340526e","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"32aefbd77394b396289665d2d5af8c39a340526e","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.8.1.tgz","integrity":"sha512-Twpy16XOAUsCuBMsf91qSgzPICoJv1AICaSs5NXsjmc31iU7Re33VaoxYBtekAJba8bDMq7UaW5E0xOPmlAWbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrBCe6QHL7QhWumSHsKPXcDmjKnkNlVK1DAt7F8k4mDQIhAKuau1rtQWeD9plUpGYkp8TTbD37oZWTOoX7AMw4zCDY"}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.8.2":{"name":"ne-data","version":"1.8.2","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"latest","passport-http-bearer":"^1.0.1"},"gitHead":"90f3a7a38c945988ea9f1231d6a5181f6de88284","_id":"ne-data@1.8.2","_shasum":"f1923d3c1ac99743868516ec58e0d7cfa7d69c01","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"f1923d3c1ac99743868516ec58e0d7cfa7d69c01","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.8.2.tgz","integrity":"sha512-4mLq3mDfS+Rtr8fF6bu1lxtJ9TQwBOum0noeF27g05uCZt7zllxd2FNG7zLxdPk9ivsngfMD/E9HmmmSZKrNeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4B+ZRWt2NEy6yWaibJHi/il8gPycilwhfA5vXhn2agAIgLZLCs+CNXeFvTXzXqm6h1cjUpAbm+Qc57vdgkmSOMNc="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.9.0":{"name":"ne-data","version":"1.9.0","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"latest","passport-http-bearer":"^1.0.1"},"gitHead":"a0ef26257aa4ed5c4f7ed49aeeedf6e175b46d6b","_id":"ne-data@1.9.0","_shasum":"7ecfe6b96ae3c6d312f58abe7b3dc8159294cd83","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"7ecfe6b96ae3c6d312f58abe7b3dc8159294cd83","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.9.0.tgz","integrity":"sha512-KNN0hWBob8Kz6WcDk/LqbH4SXb6jVuTuqMUwD/54y4+pqRH4MnmecFTdSTQS3hOSOpjP7rXjMw9TuVd4cQR3fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4zHtMtYTbe6ioLw/KGLGj6VoEV3UnbgdEvIbh0T+4EQIgG9xBVbUWlYA+I3sasxsMFP4dOiRpgpqd6EJAVuszp1U="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.9.1":{"name":"ne-data","version":"1.9.1","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"latest","ne-auto-off":"^1.0.0","passport-http-bearer":"^1.0.1"},"gitHead":"95f185e22b8989599245360bd098eb9eeba2738e","_id":"ne-data@1.9.1","_shasum":"c427980df7ee059b3cf9a1e623e0c2ef8ba87899","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"c427980df7ee059b3cf9a1e623e0c2ef8ba87899","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.9.1.tgz","integrity":"sha512-10SwBpzuybxxg38V5+lMP/GByp0AhmkKYTfu3TBzghVgVF6/Lk5i+VDNaQYYf/ZmuxszUGPdoOHOw5VRz7pyMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLyEqKdkmhUq7Cu0wnX+sscqcA6FPlzF8CLPEADiSLWAiEAhGMJyf/jjc4FUvezaKW8LHAEu9+5XvW3k3K7kVyAdss="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.9.2":{"name":"ne-data","version":"1.9.2","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"latest","passport-http-bearer":"^1.0.1"},"gitHead":"04900c18fddc8818a48110e576c5b78ab432d4eb","_id":"ne-data@1.9.2","_shasum":"a465d7a0a35157c5f7a3e114f0f7c83bd3aee172","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"a465d7a0a35157c5f7a3e114f0f7c83bd3aee172","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.9.2.tgz","integrity":"sha512-NObGwLNQP64ipFpTSpuPtR2wRZ82NlF8KyTOVkvBVgp9RS/D1QkVdT4oZDRCsf6uCYB9Eb8XXp7k319o3ZoSJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8IlT4YVg3g5iG8nkh/nmTWnMNwfOfqHQlapQkbbdvyAiEA///pMj/9X3q0yGsIpQM8/RIbBdFxyhJaMJ9twAKpaGM="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.9.3":{"name":"ne-data","version":"1.9.3","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"latest","passport-http-bearer":"^1.0.1"},"gitHead":"5f66776ce92596064a2924d3e2c0781654485756","_id":"ne-data@1.9.3","_shasum":"8d576556fa6f0926d3d6aa6b23bc3083cfa56352","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"8d576556fa6f0926d3d6aa6b23bc3083cfa56352","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.9.3.tgz","integrity":"sha512-Z+WoSwyTK0PUvNYnB7E68CGSN/XClgRq1v01r6EFFf2vg3xI/Hk5P3+fJhbJ52f10ePnBZIkGAMpTsRCL2hYQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVNE3KV8TfQCl61MCZX7w8Lt9ZhUkN+gReUWwLqcWRxAiBtWlGitDRcu2juI32a1B06CRWDGCJpapYxJE3Hqh+SVg=="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]},"1.9.4":{"name":"ne-data","version":"1.9.4","description":"description","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"license":"ISC","bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"homepage":"https://github.com/node-engine/ne-data#readme","dependencies":{"cors":"^2.7.1","express":"^4.13.3","lodash":"^3.10.1","ne-auth":"latest","passport-http-bearer":"^1.0.1"},"gitHead":"5f66776ce92596064a2924d3e2c0781654485756","_id":"ne-data@1.9.4","_shasum":"5b8ae0f0884befc33069c5cca2a19c0ce1985e49","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"node-engine","email":"info@node-engine.com"},"dist":{"shasum":"5b8ae0f0884befc33069c5cca2a19c0ce1985e49","tarball":"https://registry.npmjs.org/ne-data/-/ne-data-1.9.4.tgz","integrity":"sha512-C2TfJkQUXljN07G8EwP8JJ/nLdg9dqCntjWJp0Uh/3+IOL4jalnreC/Xhl2A19MmbWw/1SkUBbDhxQ8R3/YhHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGtlTJJir5hnDPRpWWNHlE/I4HX/+JT6MmW2Rf68DtE3AiEAnXU3Gqky/kbJCY+nZi7lYL6VMrMaFro7VNbIDpZeeCo="}]},"maintainers":[{"name":"node-engine","email":"info@node-engine.com"}]}},"readme":"# ne-data (Node Engine Data)\n\nA quick and simple way to create a structured restAPI using, NodeJS, MongoDB and Mongoose.\n\n## Snippit from the Server file \n\nJust add this code and it will automatically add any additional files you place in the api folder. the route for the api will be domain.com/apiPath/filename\n\nwhere\n- apiPath is the apiPath you set in the server file \n- filename is the name of the file in the api folder\n\n```js\n\nvar neData = require('ne-data');\n\nvar dirName = __dirname;\nvar apiPath = \"/api\";\nneData.server(server, dirName, apiPath);\n\n\n```\n\n## Sample API file\n\nDefine the schema in any way you want and create as many as you want.\n\nThese files need to be in a folder matching the apiPath you provides in the same directory as the server file\n\n```js\n\nvar router = require('express').Router();\nvar mongoose = require('mongoose');\nvar neData = require('ne-data');\n\nvar pageSchema = {\n    path:{type: String, required: true},\n    title:{type: String, required: true},\n    description:{type: String, required: true},\n    pd:{\n        pdNumber:{type: Number, required: false, default: '0'},\n        pd1:{\n            path: {type: String, required: false}\n        }\n    },\n    createdAt:{type: String, required: true}\n\n};\n\nvar Model = mongoose.model(\n    'Page',\n    pageSchema,\n    'page');\n\n\nneData.model(router, Model);\n\n\nmodule.exports = router;\n\n\n```\n\n## API Features\n\nPost \nThe entire request body becomes the object that is posted\n\nGet\nGet by Id\nGet with Limit results to number \nGet with Limit and cycle \n\nPut \nPut by Id\n\nDelete\nDelete by Id\n\nUse query field value pairs find specific documents\nhttp://localhost:3001/api/page?f1=pathField&v1=pathFieldValue\n\n- get will get the document where the pathField matches the pathFieldValue\n- delete will delete the document where the pathField matches the pathFieldValue\n- put will edit the document where the pathField matches the pathFieldValue, two addidional query params are needed to give the field you want to edit and the new value for the that field\n\nIf you are interested in more details on the working of the api please ask.\n\n\n## Steps\n\n1. Connect to mongoDB using mongoose\n2. Require and NPM install the dependencies \n3. Define your schema using mongoose syntax\n4. Use the schema to create a Model\n5. Activate neData by calling neData.init(router, Model)\n\n\n## POST\n\n### Add a document to a collection\n\npost request\n- http://localhost:3001/api/people\n\nwhere \n- people = name of the model/collection\n- req.body = the document you want to add\n- example req.body \n\n```json\n{\n  \"firstName\": \"John\",\n  \"lastName\": \"Jackson\",\n  \"email\": \"john@jackson.com\"\n}\n```\n\nresults \n- Adds the contents of the req.body as a document to the people collection using the mongoose schema.\n\ncomments\n- Example post req with Json body using Postman.\n\n![Post Example using postman](https://raw.githubusercontent.com/node-engine/ne-rest-mongoose/master/media/postman.png)\n\n\n## GET \n\n### Get all in collection\n\nget request\n- http://localhost:3001/api/people\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n\nresults \n- all documents in the people collection\n\n\n### Limit the request to a a number of documents\n\nget request\n- http://localhost:3001/api/people?limit=3\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- query: limit = the number of documents you want\n\nresults \n- the first 3 documents in the people collection \n\n\n### Cycle through docs in the collection\n\nget request 1\n- http://localhost:3001/api/people?limit=3&batch=1\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- query: limit = the number number of documents in a cycle \n- query: batch = the cycle number\n\nresults \n- the 1st, 2nd and 3rd document in the collection\n\nget request 2\n- http://localhost:3001/api/people?limit=3&batch=2\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- query: limit = the number number of documents in a cycle \n- query: batch = the cycle number\n\nresults \n- the 4th, 5th and 6th document in the collection\n\nget request 3\n- http://localhost:3001/api/people?limit=3&batch=3\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- query: limit = the number number of documents in a cycle \n- query: batch = the cycle number\n\nresults \n- the 7th, 8th and 9th document in the collection\n\n\n### Search for documents where a field matches a value\n\nget request\n- http://localhost:3001/api/people?f1=firstName&v1=John\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- query: f1 = the field you want to search by\n- query: v1 = the value in the f1 filed you are looking to match\n\nresults \n- all documents in the people collection where the firstName field is John\n\ncomments \n- the search in case sensitive, so if you type john instead og Johh it will not find it.\n\n\n### Get one document in a collection using the document _id\n\nget request\n- http://localhost:3001/api/people/55eefa231c0eba0d2c72af40\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- 55eefa231c0eba0d2c72af40 = the _id of the document you want\n\nresults \n- The document with the _id of 55eefa231c0eba0d2c72af40\n\n\n## PUT\n\n### Search for documents where a field matches a value and give a new value to a field in those documents\n\nput request\n- http://localhost:3001/api/people?f1=firstName&v1=John&fs1=email&vs1=john@jackstrade.com\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- query: f1 = the field you want to search by\n- query: v1 = the value in the f1 filed you are looking to match\n- query: fs1 = the field you want to edit\n- query: vs1 = the new value for the field you want to edit\n\nresults \n- all documents in the people collection where the firstName field is John gets given a new value of john@jackstrade.com for the email field\n\ncomments \n- the search in case sensitive, so if you type john instead og Johh it will not find it. \n- you can search by one field and edit another field\n- if more than one document matches the search then all those documents will be updated\n- By default only one document is edited if you want to edit all documents matching the query then at a query param called multi=yes (?multi=yes or &multi=yes) \n\n\n### Search for documents where a field matches a value and use a json request body object to update the fields\n\nput request\n- http://localhost:3001/api/people?f1=firstName&v1=John\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- query: f1 = the field you want to search by\n- query: v1 = the value in the f1 filed you are looking to match\n\nresults \n- all documents in the people collection where the firstName field is John\n\ncomments\n\n- See the MongoDB docs on how to format the json req body (http://docs.mongodb.org/manual/reference/method/db.collection.update)\n- By default only one document is edited if you want to edit all documents matching the query then at a query param called multi=yes (?multi=yes or &multi=yes) \n\n- for\n\n```json\n\n{\n  \"_id\": \"55eefa231c0eba0d6c72af40\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Jackson\",\n  \"email\": \"mail@mail.com\",\n  \"detail\": {\n            \"thing\": \"thing value\"\n          },\n  \"__v\": 0,\n  \"createdAt\": \"Fri Sep 18 2015 17:09:51 GMT+0200 (SAST)\"\n}\n\n```\n- use this reg body object to define what to edit\n\n```json\n\n{\n  \"detail.thing\": \"new thing value\",\n  \"email\": \"newmail@mail.com\"\n}\n \n```\n\n### Search for documents by _id and use a json request body object to update the fields\n\nput request\n- http://localhost:3001/api/people/55eefa231c0eba0d6c72af40\n\nwhere \n- api = the apiPath you specified\n- people = name of the model/collection\n- 55eefa231c0eba0d6c72af40 = the _id of the document you want to edit\n\nresults \n- all documents in the people collection where the firstName field is John\n\ncomments\n\n- See the MongoDB docs on how to format the json req body (http://docs.mongodb.org/manual/reference/method/db.collection.update)\n- By default only one document is edited if you want to edit all documents matching the query then at a query param called multi=yes (?multi=yes or &multi=yes) \n\n- for\n\n```json\n\n{\n  \"_id\": \"55eefa231c0eba0d6c72af40\",\n  \"firstName\": \"John\",\n  \"lastName\": \"Jackson\",\n  \"email\": \"mail@mail.com\",\n  \"detail\": {\n            \"thing\": \"thing value\"\n          },\n  \"__v\": 0,\n  \"createdAt\": \"Fri Sep 18 2015 17:09:51 GMT+0200 (SAST)\"\n}\n\n```\n- use this reg body object to define what to edit\n\n```json\n\n{\n  \"detail.thing\": \"new thing value\",\n  \"email\": \"newmail@mail.com\"\n}\n \n \n```\n\n## DELETE\n\n### Remove a document from a collection using a field value combination\n\ndelate request\n- http://localhost:3001/api/people?f1=firstName&v1=John\n\nwhere \n- people = name of the model/collection\n- api = the apiPath you specified\n- query: f1 = the field you want to search by\n- query: v1 = the value in the f1 filed you are looking to match\n\nresults \n- remove documents in the people collection where the firstName field is John\n\ncomments \n- the search in case sensitive, so if you type john instead og Johh it will not find it.\n\n\n### Remove one document in a collection using the document _id\n\ndelete request\n- http://localhost:3001/api/people/55eefa231c0eba0d2c72af40\n\nwhere \n- people = name of the model/collection\n- 55eefa231c0eba0d2c72af40 = the _id of the document you want to remove\n\nresults \n- The document with the _id of 55eefa231c0eba0d2c72af40 is removed\n\n\n## dataRef\n\nExample dataRef object\n\n```js\n\nvar dataRef = {\n    \"name\": \"emails\",\n    \"slug\": \"/admin/emails\",\n    \"apiSlug\": \"/data/emails\",\n    \"interfaceType\": \"default\",\n    \"cycleByDefault\": false,\n    \"batchSize\": 10,\n    \"type\": \"noEdit\",\n    \"categories\": [\"undefined\"],\n    \"tags\": [],\n    \"fields\": [\n        {\n            name: \"p1\",\n            data: \"nameFirst\",\n            type: \"noEdit\"\n        },\n        {\n            name: \"p2\",\n            data: \"nameLast\",\n            type: \"noEdit\"\n        },\n        {\n            name: \"p3\",\n            data: \"email\",\n            type: \"noEdit\"\n        },\n        {\n            name: \"p3\",\n            data: \"user\",\n            type: \"ObjectId\"\n        }\n    ]\n};\n\n```\n\n### Field Display types \n\nThis is used when displaying data in this field\n\ndisplayType: \"string\"\n- This field contains a string\n- This is the default\n- Not not need to add this it is assumed that a field is a string unless otherwise specified\n\ndisplayType: \"ObjectId\"\n- this field is the object id of another document in another collection\n\ndisplayType: \"array\"\n- this field is an array of strings \n\n\n### Field Edit types \n\nThis is used when editing data in this field\n\neditType: \"text\"\n- This fieled contains a string\n- This is the default\n- Not not need to add this it is assumed that the field can be edited with a text input\n\neditType: \"noEdit\"\n- can not edit this field in ne-admin\n\neditType: \"select\"\n- Select the value of this field from a list of values \n- if this edit type is specified the editOptions array must also be provided\n- selectOptions: [\"option1\", \"option2\"]\n\neditType: \"textarea\"\n- The user is given a textarea instead of a text box to edit the field.\n\neditType: \"html\" (Future feature)\n- The user is given a html area instead of a text box to edit the field.\n\neditType: \"\" (Future feature)\n- The user is given a html area instead of a text box to edit the field.\n\n\n## License \n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Bernard Hamann\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","maintainers":[{"name":"node-engine","email":"info@node-engine.com"}],"time":{"modified":"2022-06-20T23:19:49.194Z","created":"2015-09-19T04:13:24.789Z","1.0.2":"2015-09-19T04:13:24.789Z","1.1.0":"2015-09-20T02:13:30.694Z","1.1.1":"2015-09-20T02:56:02.204Z","1.2.0":"2015-09-22T03:18:33.098Z","1.3.0":"2015-09-27T06:22:28.081Z","1.3.1":"2015-09-27T10:13:23.289Z","1.3.2":"2015-09-29T02:09:31.980Z","1.3.3":"2015-10-02T18:11:54.568Z","1.3.4":"2015-10-08T17:15:34.290Z","1.3.5":"2015-10-10T01:07:17.857Z","1.0.0":"2015-10-10T18:32:05.159Z","1.4.0":"2015-10-10T18:33:20.042Z","1.4.1":"2015-10-10T18:52:00.535Z","1.5.0":"2015-10-13T19:38:30.963Z","1.6.0":"2015-10-14T05:24:52.932Z","1.7.0":"2015-10-14T19:36:05.107Z","1.8.0":"2015-10-18T15:40:15.930Z","1.8.1":"2015-10-18T18:11:20.311Z","1.8.2":"2015-10-18T18:15:21.912Z","1.9.0":"2015-10-20T14:19:05.075Z","1.9.1":"2015-10-20T23:09:55.912Z","1.9.2":"2015-10-21T13:44:00.490Z","1.9.3":"2015-10-27T22:59:30.830Z","1.9.4":"2015-10-27T23:48:45.343Z"},"homepage":"https://github.com/node-engine/ne-data#readme","repository":{"type":"git","url":"git+https://github.com/node-engine/ne-data.git"},"author":{"name":"Bernard Hamann"},"bugs":{"url":"https://github.com/node-engine/ne-data/issues"},"license":"ISC","readmeFilename":"readme.md"}