{"_id":"mpill","_rev":"40-35f1865e040630035aef48911456d2a9","name":"mpill","description":"MoNoApps MongoDB Pill","dist-tags":{"latest":"0.5.1"},"versions":{"0.0.1":{"name":"mpill","version":"0.0.1","description":"MoNoApps MongoDB MPill Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.1","dist":{"shasum":"202ba229d2432834221f378f58b732046e1c9ae1","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.1.tgz","integrity":"sha512-Jmmz0bK1XZXBd5FB21oxaKsvPDzu4UkqR/x/vNznPUC7K/dYgh6OitDnpr9rAxeDmciOULSN8wwi/+unefWLvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICljbkyF/W6PSjgFmd2KDj93VeoIScKrVzPGEgguiND8AiEAun4ptOevnmngNt6TcIut19QXLrlONiigMmD6l9wfmuA="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.0.2":{"name":"mpill","version":"0.0.2","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.2","dist":{"shasum":"02205a22bf1e292dfc2140529297b91044f544fd","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.2.tgz","integrity":"sha512-Av6ZzAmMf0TD7Myphr0jMYRE+nOtTlrvjJKij39o2lEmo4hlZk8rsv/P0xWUbrGx3ZA7hX+ccGLel5tTHgrhsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTH91cugvCUjsIS1TNFqs4n+d5g/rcX/O58e2lveYvnQIhAOw5di/O9W2Dp2oTxSIYdWyCLUpXWOB6T5YxT1zv/1uI"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.0.3":{"name":"mpill","version":"0.0.3","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.3","dist":{"shasum":"eba7cc3c5a2df94b2b3c9a49fce99902f7b32687","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.3.tgz","integrity":"sha512-fm166cii7GtfIQ2Nkq3NWKiB0rsxBNKyOZUd32vLOz6v7pASt8ImYqERidt1mHpZRB2OfE/IcB/D9otnSOw+Qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMyXbC8lOvwcely1arFNKaXibJlKCkSKfI27gK3wnqewIhAK6s4wgXwE+F1LVyQOYVM2xqRx5ZxVxMJqOjzxjB++6f"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.0.4":{"name":"mpill","version":"0.0.4","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.4","dist":{"shasum":"456891429b136465203bad3be97427cc90f87719","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.4.tgz","integrity":"sha512-j8l5JCJ7mZjKa1wRuzbsvtjEmN4B6THz2gDOSgSECha+OkOqpxwIH7G/aXhGqhM6J8o2HsUAjQaa3cL7+KB4uA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkWx4T72HDc/LjsfMw5LhH2EHm9JQ10BM8kO53A0FfjAiEAyFXNiKcV5ga7isG5PDPXeaoHtKUJb+hs9rV7ZTG54h0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.0.5":{"name":"mpill","version":"0.0.5","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.5","dist":{"shasum":"1668db347d1625043c4aa86b0c0c69b3028b60ff","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.5.tgz","integrity":"sha512-Q+RNRasVgu4vvpRoKwOJ167ylFVaHhJheOSIg/3iH38SgCOBiOguUrMvL9K3CwXL+ovC9laBdjvvUlwoQQvsgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFh7K7NLOMDQ6B+5yjPxSGrSze05kRXSjNAa18AHlRRWAiEA6vlB0xlz36dA/L7MWYJ1fq0oyFYGHjgbw3l54xlffDo="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.0.6":{"name":"mpill","version":"0.0.6","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.6","dist":{"shasum":"ff26098f90f4fe9ee4fc8c7fce82620928c5431a","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.6.tgz","integrity":"sha512-PvWRw79UpLtbNojq8a9jIZkzZF7Sum231mVg0ZCYzqIugRHIGWIQCI2B/zcDjbbgTyBkdsl0BX/zgSidw2MHXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNADeGyig1U58KLChcL8VCLoYrgQHQu5V0t45r9ZD94gIgT8ewAxPulehVtWDJ+wzVSp/zjM/NMXESuaaZ1VQeef8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.0.7":{"name":"mpill","version":"0.0.7","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.7","dist":{"shasum":"67151b240bd729841318058245ca769175e90cd4","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.7.tgz","integrity":"sha512-2Z+cQITexDpugHWTmFj2HjBfYGPqFQSyyU3l1DYbrmNsjKcsn1CWdohO32j1NMc5/ADyjET1q3Duov2rO26Xkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWJbVV3bSlXXhMd3i0xgnYXxwlvoFhmqhqBEo+RRGPRAiEAtAm22WYyGKWXSN9ZPYICecvJy5Mlg6ICY8KbRTyRbG8="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.0.8":{"name":"mpill","version":"0.0.8","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","_id":"mpill@0.0.8","dist":{"shasum":"cd9459eee2391aa248008b3ff4aea121da6eecc1","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.0.8.tgz","integrity":"sha512-wPyH4lzn0KIEdgJI79AM1vbgSRYhMwjJF3qpYMR7l2goZj+1gJplafs4f1h8EgmwOWlaf14cR+sF3yBKqQS2fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpcaG56B6cT1XVeWRlNwJDzze+cJkTyLNlUKAO0aAHQQIhAOmokre4+A/z848jr7EmbB3sIO7lZTJf65Ns5HfQS1SO"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"directories":{}},"0.1.0":{"name":"mpill","version":"0.1.0","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","directories":{"example":"example","test":"test"},"devDependencies":{},"_id":"mpill@0.1.0","dist":{"shasum":"945e74b4f2f054e2a46803e4f83e783bd0f424a2","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.1.0.tgz","integrity":"sha512-gsyqhwmXWFWEz9VdjNXfiwMk81hLzlDHWCjWjUeqC/Muh6StlQSCSYxXox3zQNWW3rJLsiQ3JjoFZgTHrkk7Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3lUECzzjCrrIGty4bf7bDklbU9ghx4E3/C6C9MpbFBwIgNqbatSa1hIkO3W+0Z4emvpb2c2OHTBZOx226nvxdE5c="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}]},"0.1.1":{"name":"mpill","version":"0.1.1","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"d7e9a8ff2bc85d0dffee313e2c03faf90cc53a77","_id":"mpill@0.1.1","_shasum":"f1a1d7de1c8d8c25ce738a1adaa17e8f73b41a4f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"f1a1d7de1c8d8c25ce738a1adaa17e8f73b41a4f","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.1.1.tgz","integrity":"sha512-iozplILCCTIzKzf5A6xysotvrCZkRxgZio/wXjc8oZ6KxlD+F+UL13TmYdNQC2Efo8YMTb3yZQX/cw3R1wTw/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuhWaYVmKYF8saGQaHh7jmsDwi9KhBcd78t/LwkF5n4AIgEr1bpwFrNbo+kheodGee0zqZadNeb0VGXU331IfWDQo="}]},"directories":{}},"0.1.2":{"name":"mpill","version":"0.1.2","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"7ed65a1dc7bd414eaa82d059f74f54afcff735b5","_id":"mpill@0.1.2","_shasum":"398eeb68b0ea764ea8c1dbd3556b0ba6696750b5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"398eeb68b0ea764ea8c1dbd3556b0ba6696750b5","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.1.2.tgz","integrity":"sha512-8D/7FFJJfxzumDZ3Sw8dyjeQDk5w9+F/JpbYA57q1G4vmACtg3lfPC4vJBgUDNoPHZYbz323gxoi4iBFIKk8Ww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCR2LQISEg6mZifB4yfTd4feNkSCy2p/ZE1gOxjeiNI7QIhAJYKKTZJRFR8/2rX/V1rRK7NBTCyTvwMnQkm35QX2rhK"}]},"directories":{}},"0.2.0":{"name":"mpill","version":"0.2.0","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongodb","MPill","mna"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"07411a654309495cfe2c16698689f8c023c14fb1","_id":"mpill@0.2.0","_shasum":"6be1bd43f617723ff31d2c603949c6f535739e47","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"6be1bd43f617723ff31d2c603949c6f535739e47","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.2.0.tgz","integrity":"sha512-bXyH79NkhFhEhfCPfT8vTQkRLLA85BkChVJ9CJYGXFZPjTDHvvNrGhgT7SSq2GziOlibILsw0c4PstZkBWWmsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbmWsJvQ4CMEuk4DlC5qesdKq52n6let7qFqUxl96RPgIhANk0J8DRghk9MKdBzlpfBSZEuTVKxEKZvkpeYePttVCR"}]},"directories":{}},"0.2.1":{"name":"mpill","version":"0.2.1","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongo","nosql","model","query"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"2055d6fa795f9a931e7603c0e1c8a7f53de0b3e2","_id":"mpill@0.2.1","_shasum":"52e53418d2824ada7e9681218504843c95234513","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"52e53418d2824ada7e9681218504843c95234513","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.2.1.tgz","integrity":"sha512-JINFy0IgLvwtASGUwzgVM88qJXAs72wkt2SkbjTPoiYrGtodUnn5cZ6hxt621dEe0aXrBRmO/8E9OoPn2YdnQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC43kBzIErqXi3fFMSNGx5Zsa64/nvgRmHglr6wpcjcHQIhAPcb0GFnyI5RUN/hBWesOK27b9hiQJAZtGg+Uxf+5NFI"}]},"directories":{}},"0.2.2":{"name":"mpill","version":"0.2.2","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongo","nosql","model","query"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"4173ab09bada471448c475da4c049d5b9d6a8b46","_id":"mpill@0.2.2","_shasum":"18d3bad70074d9698613c6200e57438c02e5107b","_from":".","_npmVersion":"2.1.17","_nodeVersion":"0.10.35","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"18d3bad70074d9698613c6200e57438c02e5107b","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.2.2.tgz","integrity":"sha512-vkg20DQic/uSzQA/54bndsFsGzbINVNC4RSJe93yq1JSm0r839lg4ZM7u6QyPc7ejtMKiLrOY4a0Ttmn2e1N1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUq2qkhbtSesmn2WR507W2mb/kxeZg2oKCBOPiXbHHlAiEAthVjiSlGsBi5uSLiNJSsDOy5pmhv3NOjx9Z8Af9/7+Y="}]},"directories":{}},"0.3.0":{"name":"mpill","version":"0.3.0","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongo","nosql","model","query"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"73bbc7c30ae314777a00831d97382d068a1959aa","_id":"mpill@0.3.0","_shasum":"bf3ef625aa960da6e3bb1a2f6cf2a614c121f454","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"bf3ef625aa960da6e3bb1a2f6cf2a614c121f454","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.3.0.tgz","integrity":"sha512-Tjs2Su7qnA/L+qakNTFtx81E9OdhhLwTnaYZfcAPRYaKAlt08G+Jl7zh2epoguNCYSrC4DtgZo16gQRFrpk4jQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv4YlkZNDMsjBvRbT6khQGc721CrMHrzE+MBDqM9GnvAIhANmuyBYluXF8WPloaEj5IO72UUIDIpM+LhsJIBoyPhdu"}]},"directories":{}},"0.4.0":{"name":"mpill","version":"0.4.0","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongo","nosql","model","query"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"a54aa6a9a14244a9cc139e55fa62525c6858e2d4","_id":"mpill@0.4.0","_shasum":"898d2c045aa2741024e4df05bbc2e0d1d475c3fd","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"898d2c045aa2741024e4df05bbc2e0d1d475c3fd","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.4.0.tgz","integrity":"sha512-6SmcmRclcvC265NSPS+A8P2mv9JePuEIVJ8Rbu/e73EZmuUhnsXIkgG8BIv7fj6kRh98Unh7EE1cUdaTpZMQfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCJFPN42TL33KJGancsVETa1S1WzSG5tVpnUgnTmk2OwIhAOUGZe0RfVhZTdpXKNpm1i/B2r49IfhW05aUqWEsAWTw"}]},"directories":{}},"0.4.1":{"name":"mpill","version":"0.4.1","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongo","nosql","model","query"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"7b82f21a13a5326ad47efcaa552a13b64fe6b536","_id":"mpill@0.4.1","_shasum":"49537f08e15cdaf1e16db7064b96a84b688b3bce","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"49537f08e15cdaf1e16db7064b96a84b688b3bce","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.4.1.tgz","integrity":"sha512-D4jxwG9huHjycJ46E7NPdpmb37wGM+ggeCnNMifGFhsvpd9nMuqXDJJqUYf/g4CVIyuN7zZGdUrYhmz2cX4mUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLK9xrMfI+jn7D56b6ibQ9Iej/vZIEqsCMrchXJB2ixAiEAgsmFLuwEM2L6FiYfSU43aKFozmi8heP5JtjOcWV77aw="}]},"directories":{}},"0.5.0":{"name":"mpill","version":"0.5.0","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongo","nosql","model","query"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"729459f894d0eac6c1fa432528152dd89962bccd","_id":"mpill@0.5.0","_shasum":"07f012644fd81b8b455446ea1522b26326adb98b","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"07f012644fd81b8b455446ea1522b26326adb98b","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.5.0.tgz","integrity":"sha512-zFkCfLgWnEF9tlvmthKe/wZTRktT9YuAkGGYiviblmHPPW4IJePtzfR3XrxQ74+jAO/XCIccWl+P6iq8/KnvtQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4W5AOK1GAXPYO9Lg4HbraBU3MJWHsMVQIF/SCa+bWWAiEAu/NtPX45kb3WzlMSjWI2rEfEVXd4/BMsVx+oSuhWijo="}]},"directories":{}},"0.5.1":{"name":"mpill","version":"0.5.1","description":"MoNoApps MongoDB Pill","main":"mpill.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"keywords":["mongo","nosql","model","query"],"dependencies":{"mongodb":"*","tpill":"*"},"author":{"name":"Daniel Martinez"},"license":"MIT","bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"homepage":"https://github.com/MoNoApps/mpill","gitHead":"2871b5770f1a96d90b577f0913c11e16962edcdb","_id":"mpill@0.5.1","_shasum":"6b39c25887935e105401e8300ac52d3dbbc3a699","_from":".","_npmVersion":"2.7.3","_nodeVersion":"0.12.1","_npmUser":{"name":"monoapps","email":"daniel@monoapps.co"},"maintainers":[{"name":"monoapps","email":"daniel@monoapps.co"}],"dist":{"shasum":"6b39c25887935e105401e8300ac52d3dbbc3a699","tarball":"https://registry.npmjs.org/mpill/-/mpill-0.5.1.tgz","integrity":"sha512-J3UsPGpAl3woTSpGh55Zmb5pBDNSwo08cff0FXmnE4qavAs4MDkaMs9QXtcSwjCrKsX2rIJmip9XA50LzU3KMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE3VjVYG68BW4DRGfIZ3JWQ/QioLS4dAB/ooof+jRVkoAiAJb/HloZz4EXRyf6qI18oUmzuIDQFEZWHUDZr5M5RruA=="}]},"directories":{}}},"readme":"MPill\n===\nCoding apps without to be worried about data models.\n\nSingle model instance\n===\n````js\nvar MPill = require('mpill').MPill;\nvar url = 'mongodb://127.0.0.1/mpill';\nusers = new MPill('users', url);\n````\n\nMultiple models at once\n===\nmodels.js\n````js\nvar MPill = require('../mpill.js').MPill;\n\nvar colls = ['users','groups','roles','tasks'];\nvar url   = 'mongodb://127.0.0.1/mydb';\n\n// exports each collection\nfor(var i in colls){\n\tmodule.exports[colls[i]] = new MPill(colls[i], url);\n}\n````\nuserController.js (let's said this is for express route)\n````js\nvar models = require('./models');\nvar Users = {};\n\nUsers.List = function(req, res){\n  models.users.FindOne({'email': 'rrunner@acme.co'}, function(err, rrunner){\n    if(err){ return res.status(500); }\n    var query = { user_id: rrunner._id, label: 'open' };\n      models.tasks.Find(query, function(err, toDo){\n        if(err){ return res.status(500); }\n        res.json({\n          user: rrunner,\n          tasks: toDo\n        });\n      });\n    });\n};\n...\nmodule.exports.Users = Users;\n````\n\nAPI reference\n===\n````js\n'Generic methods'\nmodel.Connect(cb)\nmodel.DropDB(cb)\n\n'Common methods'\nmodel.Insert(doc, cb)\nmodel.Update(query, doc, concern, cb)\nmodel.Remove(query, cb)\nmodel.Find(query, cb, project, options, limit, sort)\nmodel.FindOne(query, cb)\nmodel.CreateIndex(query, cb)\nmodel.DropCollection(query, cb)\nmodel.DropIndex(query, cb)\nmodel.CreateCollection(cb)\nmodel.Count(query, cb)\nmodel.Aggregate(query, cb)\n\n'Special methods'\nmodel.FindByObjectId(query, key, cb)\nmodel.UpdateByObjectId(query, doc, key, cb)\nmodel.RemoveByObjectId(query, key, cb)\nmodel.parseOID(value, cb)\n````\n\nTest with tpill\n===\nRunning [CRUD sample](example/crud.js)\n````sh\nnpm install\n// mongod --dbpath $HOME/data/mpill &\nnode example/crud.js\n````\nResults:\n````sh\n✓ CreateCollection\n✓ DropCollection\n✓ Insert\n✓ Update\n✓ FindOne\n✓ FindByObjectId\n✓ UpdateByObjectId\n✓ RemoveByObjectId\n✓ Count\n✓ DropDB\n\nStatistics: {\"pass\":10,\"fail\":0,\"warn\":0}\n````\nRESTful API sample\n==\nClone [deck tool](https://github.com/MoNoApps/deck) to see a restify implementation.\n\nTest with mocha\n===\nKeeps definded functions.\n```sh\nmocha\n18 passing (20ms)\n```\n\nCode quality with gulp-jshint\n===\n\n```sh\nnpm install gulp\nnpm install gulp-jshint\ngulp\n```\n\nAbout concern\n===\nFull api doc: http://docs.mongodb.org/manual/reference/write-concern/\n\n````js\n//Sample with concern\nvar concern = {w:1}; //Use primary node server\n````\n\n## Changelog:\n\n### v0.5.1\n* Add Aggregation framework queries.\n* Add tests for mongo v3\n\n### v0.5.0\n* Stable version for common queries\n","maintainers":[{"email":"daniel@monoapps.co","name":"niltron"}],"time":{"modified":"2022-06-20T11:04:02.068Z","created":"2014-07-28T18:58:55.552Z","0.0.1":"2014-07-28T18:58:55.552Z","0.0.2":"2014-08-13T21:15:07.542Z","0.0.3":"2014-08-13T21:46:54.612Z","0.0.4":"2014-08-13T22:09:46.780Z","0.0.5":"2014-08-19T18:20:59.835Z","0.0.6":"2014-09-08T13:49:34.002Z","0.0.7":"2014-09-10T22:21:36.562Z","0.0.8":"2014-09-10T22:25:22.715Z","0.1.0":"2014-10-27T19:52:01.280Z","0.1.1":"2014-11-16T16:23:22.956Z","0.1.2":"2014-12-24T21:32:13.937Z","0.2.0":"2014-12-30T20:24:31.240Z","0.2.1":"2015-01-08T22:58:55.240Z","0.2.2":"2015-01-12T01:46:37.981Z","0.3.0":"2015-01-13T16:22:01.851Z","0.4.0":"2015-01-15T18:06:31.633Z","0.4.1":"2015-01-16T22:08:46.025Z","0.5.0":"2015-02-08T22:16:26.142Z","0.5.1":"2015-05-12T15:33:00.020Z"},"homepage":"https://github.com/MoNoApps/mpill","keywords":["mongo","nosql","model","query"],"repository":{"type":"git","url":"git://github.com/MoNoApps/mpill.git"},"author":{"name":"Daniel Martinez"},"bugs":{"url":"https://github.com/MoNoApps/mpill/issues"},"license":"MIT","readmeFilename":"README.md"}