{"_id":"mongo-wrapper","_rev":"58-e4ae9329445aa56cc4177d00bad4cb77","name":"mongo-wrapper","description":"tiny wrapper around the native mongodb module","dist-tags":{"latest":"0.0.29"},"versions":{"0.0.0":{"name":"mongo-wrapper","version":"0.0.0","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4"},"_id":"mongo-wrapper@0.0.0","dist":{"shasum":"d76ad14b08eed030e721649c44d277abb1ce18b8","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.0.tgz","integrity":"sha512-H8lu4986+7oP2IwOX2+uuglxuP4QGKVd2MfpyREhBSQQenUzzx7n4e5n0H7iAI8+wEOsYaC4ed6zUCr+VWifAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHq5tMc9IabCnIwf5Fx1yEkrcNvTFT/nAdEES6OhSE/+AiEAooBgNpOdfiim2NuGNPCM/KMkJWBCwk2+MiOLTx0w/+A="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.1":{"name":"mongo-wrapper","version":"0.0.1","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.1","dist":{"shasum":"c3467f2eb6d01eb0e73ade5492c2326dd3a85707","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.1.tgz","integrity":"sha512-4xtudmlPVhQnGYPJ4wSOFCFl45utVkytyC4fcR3ITWsMGheiA8RIDj6pcYC62TUeAhHru+d6Nr8gGlrTdd7JDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPb3ZPZIBZOxD9tqgPPDstT4yBBfWFpwYkRieQmGCr+QIhAIY0u59xLHC8ateO9ZByxfM9bEtSY60U94vVLFwh8gD+"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.2":{"name":"mongo-wrapper","version":"0.0.2","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.2","dist":{"shasum":"6a23a67f1cb1f0c2b5f4a23704d07793fe23acfd","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.2.tgz","integrity":"sha512-zd2dqKsdHv85LU7RmnmW0BGM5rkh0hAyNiwATRkDp69HkAnzlwTKnLK37L9veQtqiLYo/N02PKAMwM5UswEdJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZOAecG9NCkcZm1pwc5vsJRh6gRXn+vrVne5ZjsO/iwAiBhBvPuy33b4+6m+XCfPyvm5XR4LjPg7oLVcFNVwB+yFQ=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.3":{"name":"mongo-wrapper","version":"0.0.3","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.3","dist":{"shasum":"37c3d9c35d387c4aabffecae2a8c33ccc8d5b372","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.3.tgz","integrity":"sha512-DgxP62fZ6A8myCsXp1TwLqjG6JM6qpsk0co+MXtp1riNQS2YQh+IOfBav4OpV3Y07uQvrWcQZ/ZKNHEqcayhtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZB2iYy9IpWN0QxQbq1UqC3ZRZWAZjI2cidmdOwoZaKAiABFz3OGrhsgMB49AF31nG19e7JhdgVSN9pyOqY67DBHw=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.4":{"name":"mongo-wrapper","version":"0.0.4","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.4","dist":{"shasum":"7117efca17a364d33b271f4edaf315d712f32526","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.4.tgz","integrity":"sha512-aTvI3pBy4fM67UXUe1QyzkIJp+NRs/ZW0UmStE/Yy2cwZzhQOo+BsjVpMP4SLA+SwQ2q0yL5NRNfRbrqjSm5pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9L4Z7llu4NnDtg4E2ZliSaU6G3XpDkL1i5dp+DeOnMAIgIVq9j1M4tkSs6E1FSuFV30l6UhmIYZ6mZ2IiWW/bnnA="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.5":{"name":"mongo-wrapper","version":"0.0.5","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.5","dist":{"shasum":"9dfa847a29235bf36b0576ef3a6115757df6466d","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.5.tgz","integrity":"sha512-IAidySALETT50dnDDA38ExTzoDCqTVVhBIeF9IrrrBI+ajGMLe4oyN5EEb3fZj6hENXjmf28OG8v3V2JggQuAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/JZIpaPSibYB/DlWRzUqHa6NWyTnWRLJCjO/kii0vXgIgd0TxU/Qd8It8meW+QTmgkSbk2sCpz5XZ7PWrS3jd3WU="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.6":{"name":"mongo-wrapper","version":"0.0.6","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.6","dist":{"shasum":"666b6bdd00f85c350a3f588ded2f6ca1bede1019","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.6.tgz","integrity":"sha512-ILC4bgHHF/P9C+d50dBfUHVT7tMfrD5XW9jqWvFeJG+sF2xX/eu1+dzdaLHi/PyIqK9pRJ8dqG/7l/K951XXuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgLqjaYYjpIOSGjxx07rKi3e+Xq+p2yZYyHlzTmM1IWgIgZQK6xzCDV6fB6CFgAeATFNJJei6pgq/GBOrHqGeb6xQ="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.7":{"name":"mongo-wrapper","version":"0.0.7","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.7","dist":{"shasum":"1bc0ac65631bd8904a12d9a7265297efa600942d","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.7.tgz","integrity":"sha512-7M3/m/3EZKsKzuzrO0tlnLg5ZEqaFRCtkx82KscoDt7SVR3h7o6QqsLkBGtjWdI3I4alMY5hTxc1+mWoLMmEFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNQkt8U79oTUcFQby5U5UtQQ2FD0uL3+mSRLx/8kIdJQIgFDRu+/rwdH9AQnfVYna9ZZXu/hpVZuyRnvpuiHYQwQY="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.8":{"name":"mongo-wrapper","version":"0.0.8","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.8","dist":{"shasum":"2ee0454b252865b9644471c4d66a74017a20ddb0","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.8.tgz","integrity":"sha512-fZYWOz5yxdLsJmAhLM5kN8zGLpRUMbzW26FtiORkgMYJ+HIYJbb/yhRMSlKJ2sl1LZg47OKi6Fjk+wv2ptVR5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDhl61xVhyWswkuMN9TOkTcZAg3iP7dKT/lDC1qZ5r/7AiAN2d0XrM6ICpiz2bi2R+nbIryBUcOfgzmqWpM5fltTIg=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.9":{"name":"mongo-wrapper","version":"0.0.9","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.9","dist":{"shasum":"b519c8b76b79c8086428753cc5585535a04420c0","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.9.tgz","integrity":"sha512-aFdEiZlqeBAy5ygYsnkRY39x+4f7yO4iYcgwKdB6Id9sz2U4zAtOnNHgDwGzzHPafnA2bGXcUBRcS8hQryQREw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAfH+mpYxUYZDDQP9VXS5ZmOKsonZaSIQcENaFbwsJPTAiEAtoo49s81TWHZzljl+rDDKF4y6h+25KauZT8C+/9zTpE="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.10":{"name":"mongo-wrapper","version":"0.0.10","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.10","dist":{"shasum":"effc243e79e1b88ff50a2e55ff548187294b9219","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.10.tgz","integrity":"sha512-T11ADydNixl/x1Sks6eT8txP/PRQpBnQZiaTevqQePnF9LpEEopNuqBUbwELS8RBOiNbsA0Xe0mdVKX+XGIj4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo8nv4bFZyRN2fd6hfTw34OMZ/Qb7hGZbHTHhg/04RQgIhAPqhBsRAmHQIHDYSMWG5txLTK3YLsV2aYdY4OQi/ok5l"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.11":{"name":"mongo-wrapper","version":"0.0.11","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.1","underscore":"~1.4.4","mongodb":"~1.2.13"},"devDependencies":{"mocha":"~1.8.1"},"_id":"mongo-wrapper@0.0.11","dist":{"shasum":"1c32ba73292d499764dfe29018fbedf880159b03","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.11.tgz","integrity":"sha512-/bf5AZK6RRMx9hcIvNjAh7/Z1Lr7uiUBJoOoqq0DQ7aco+d9RHMr8nprLu3ojJis3FzjofkQbLEVsD432RIp/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChB2L0zACStL+tlUWtyNefeyCj/oOCkAXpxVSp8RYCMwIgFjMW0sb88ZrSPxjWrw8wQq3YozKFDWgEWtWnPoLnKjQ="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.21":{"name":"mongo-wrapper","version":"0.0.21","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.3.20","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"_id":"mongo-wrapper@0.0.21","dist":{"shasum":"1c4d3d53198122757130e39cc233faa6f3707ff8","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.21.tgz","integrity":"sha512-pteAB8ij6s0yGmCs6bk3ohy6fapEs2RPhmxYyXNdhmr8bnh4O4GtoByZiIkBZGALOs/9kqNazkvY0opyBTVfrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqgFqaADPvv+7usEmYWqASPWjDhoF6bYoJQdLBTKIXMAIgWjvuFp9iaYPXUHRylqC7lv5yB88pWYkQnhJXDOqn6+I="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.22":{"name":"mongo-wrapper","version":"0.0.22","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.3.20","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"_id":"mongo-wrapper@0.0.22","dist":{"shasum":"b7d870f1c2e752e40a19c4dc0db9bb3f8a4ec62d","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.22.tgz","integrity":"sha512-DYrMy6RFmWQRlWr+15GQ25P1pkFGFlV2wPMiUAhc94sEweNl8kD/sYW7phUQr1c9/hlPXzzYPEJmtIQtgO+qQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWuBavEqTDPM6IMNYOaAJINrBGKVq2xdcUwToNEe/ruQIgTPX7G+bGVkR1dUDGiD7sPaBbJwwywmcy/W8kOrrEKqU="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.23":{"name":"mongo-wrapper","version":"0.0.23","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.3.20","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"_id":"mongo-wrapper@0.0.23","dist":{"shasum":"69fc6cae09acba4d0462811e7216711ce42203a8","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.23.tgz","integrity":"sha512-Yhx1ORrQR8RrgjbdlD0t+1hd20hS5ObappzqpEFjo1j3T0hHst59gENNEt1D0yxZa2e7DUoOHrdLw8FA6ADSiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7C7km5vNmrQioz4nN0QiFjC1lW94w6TsE3ulimhnGbAiA5zuOmjRQ+rdujz7x5dqGqvf8b22WKR4AqQw/U1c+0+A=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.24":{"name":"mongo-wrapper","version":"0.0.24","description":"tiny wrapper around the native mongodb module","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.3.20","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"_id":"mongo-wrapper@0.0.24","dist":{"shasum":"685358fc19f986731335c1ec0d27c62617544acd","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.24.tgz","integrity":"sha512-KNAkYETH2M2YLLNRFDtGhJsY6wGuOSBGz4cfatRotIo9zUs5U7VS8NfeKbPVis4VqrZcIOC2bYcxEfqiepOViA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBR7i5ow8/w7lZE8CYa6HOgPDJKBdVS/1S2HFNKM7PZUAiEAy42XK1VJL44s8q7JwhsAtJAAGtRLUzlXaQIlM3WnbWw="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.25":{"name":"mongo-wrapper","version":"0.0.25","description":"tiny wrapper around the native mongodb module","main":"index.js","repository":"","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.3.20","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"_id":"mongo-wrapper@0.0.25","dist":{"shasum":"ac58fc16a8e3824752655be5c0cf7401dd7aef35","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.25.tgz","integrity":"sha512-ix/sVApRYSYkRMI6VgA3GcL4qYpCxAnWeCht8mAPgg2YFqoPZWjzJYQIyx8cmA2jexednIRTHDly98RlHpF14g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICDMoAxHbi23OSbd207HjgXssLQDGtUHZ3vj+iC07/sYAiEAj+0wUg7w1c/yfLNWoQFI4vGrayEXDGi2ykY8Ii+dsMY="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.26":{"name":"mongo-wrapper","version":"0.0.26","description":"tiny wrapper around the native mongodb module","main":"index.js","repository":"","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.3.20","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"_id":"mongo-wrapper@0.0.26","dist":{"shasum":"24482070f4f9f29c798c0ee654a5169a5259af20","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.26.tgz","integrity":"sha512-SmKeZKdJ7sohkGedBUOIUFsHBaqN4eDFP3w93KDZfslCgfBp9T1kSIujvx6sduBKQ/sk/kcJYEP1bIBLRZNU1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8FPlCQO5yJs+9zuAW+AIFdBSl2694fm/SQ6f3Af1hgAiBoU+5N2jZd7GIsDsK/UpQ1AZZEi9F0aZnoMNamz+Hr6Q=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}]},"0.0.27":{"name":"mongo-wrapper","version":"0.0.27","description":"tiny wrapper around the native mongodb module","main":"index.js","repository":{"type":"git","url":"https://github.com/dmcaulay/mongo-wrapper.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.3.20","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"gitHead":"a8fae003d661a83344f06dc1ec7e8d65bce4e400","bugs":{"url":"https://github.com/dmcaulay/mongo-wrapper/issues"},"homepage":"https://github.com/dmcaulay/mongo-wrapper","_id":"mongo-wrapper@0.0.27","_shasum":"c4ff23c0d0f6d9a65f89ff47d4485885a1b43b29","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}],"dist":{"shasum":"c4ff23c0d0f6d9a65f89ff47d4485885a1b43b29","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.27.tgz","integrity":"sha512-4wUT5gg9E46f/ElbuwRtEj0SpkmBB5kLExRa93wpqEeIJbBtADalXWZEvNo0JTsE0tMvwMVBX3O73098DZibag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBGyIdu/hUNPL1qYzC9VbAxQ9jZ6pFhzZ0tdy2fwyVWLAiEAqYLp7ylDwAIE1rUyuOzjpi9jr/VhktRSR8eMn0Uw7ds="}]}},"0.0.28":{"name":"mongo-wrapper","version":"0.0.28","description":"tiny wrapper around the native mongodb module","main":"index.js","repository":{"type":"git","url":"https://github.com/dmcaulay/mongo-wrapper.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async-resource":"0.0.7","mongodb":"~1.4.7","underscore":"~1.6.0","async":"~0.2.10"},"devDependencies":{"mocha":"~1.17.1"},"gitHead":"4d4e2343d9596339f1778389a5718b1c48fce95e","bugs":{"url":"https://github.com/dmcaulay/mongo-wrapper/issues"},"homepage":"https://github.com/dmcaulay/mongo-wrapper","_id":"mongo-wrapper@0.0.28","_shasum":"33ff666e852f7790dc8b937fbb9077f926ca2abf","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}],"dist":{"shasum":"33ff666e852f7790dc8b937fbb9077f926ca2abf","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.28.tgz","integrity":"sha512-cXxB8O42moQ64X/AgrmaIvXu21wdvsylY3fmn37KfXmnkBNY1cGhGCe76z01hKggsnVdgvCsap8MrAzEztThbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLUxUj5LvjHN3wOEUtbIWzI0Cm8XRG5Lt5QLeB63IRbwIhAKbyMB1tOtuaviq/qPTS7L/+pk1CJ0LBAHyrjmtyQSUY"}]}},"0.0.29":{"name":"mongo-wrapper","version":"0.0.29","description":"tiny wrapper around the native mongodb module","main":"index.js","repository":{"type":"git","url":"https://github.com/dmcaulay/mongo-wrapper.git"},"scripts":{"test":"node_modules/mocha/bin/mocha --recursive --reporter spec"},"author":{"name":"Dan McAulay & Jesse Ditson"},"license":"BSD","dependencies":{"async":"^0.9.0","async-resource":"0.0.7","mongodb":"^1.4.31","underscore":"^1.7.0"},"devDependencies":{"mocha":"~1.17.1"},"gitHead":"b5d60091029434fb52bb35f84a49142a9c33176e","bugs":{"url":"https://github.com/dmcaulay/mongo-wrapper/issues"},"homepage":"https://github.com/dmcaulay/mongo-wrapper","_id":"mongo-wrapper@0.0.29","_shasum":"43d6322749d78c6d5a8059b01da9f37f9e05d1fb","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dmcaulay","email":"dmcaulay@gmail.com"},"maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}],"dist":{"shasum":"43d6322749d78c6d5a8059b01da9f37f9e05d1fb","tarball":"https://registry.npmjs.org/mongo-wrapper/-/mongo-wrapper-0.0.29.tgz","integrity":"sha512-+X0/s2C2hdeImV5r1dAwYMVjwi/N3ZOnm1LwHjqzdcubUqS8cPSONWqDRVomt8hO+O4LRNXaDDTTWkXZGYV5qA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHh1V3YS1JYCaBRoX1F7Hjd4ZA5HEEJfsfM8WyHK+AdkAiEA6U6cKPJgAGdprJSJnzuxtJl3TidR2stVeLzOBKZccZ8="}]}}},"readme":"# mongo-wrapper\n\nThis is a lightweight wrapper around the mongodb driver for Node.js. It simplifies connecting and adds a few helper methods.\n\n## Installation\n\n```bash\n$ npm install mongo-wrapper\n```\n\n## Usage\n\n### Configuration\n\n```js\nvar mongo = require('mongo-wrapper');\n\nvar config = {\n  username: 'admin_user',\n  password: 'secret',\n  hosts: [ \n    {name: 'primary-1.db.com', port: 27017}, \n    {name: 'secondary-1.db.com', port: 27017},\n    {name: 'secondary-2.db.com', port: 27017} \n  ],\n  database: 'db_1',\n  options: {\n    replicaSet: 'replicaset_1',\n    readPreference: 'primaryPreferred'\n  },\n  indexes: {\n    users: [\n      {index: 'email', options: {unique: true}}\n    ]\n  }\n};\n\ndb = mongo.setup(config);\n\n// add your collections\ndb.add('users');\n```\n\n### Query\n\n```js\n// once the db is setup and collections are added you can use any\n// methods found in the Mongo Driver Collection class\n// http://mongodb.github.io/node-mongodb-native/api-generated/collection.html\n\ndb.users.insert({email: 'dan@email.com'}, function(err) {\n  // inserted\n});\n\ndb.users.findOne({email: 'dan@email.com'}, function(err, user) {\n  // use user\n});\n```\n\n### Additional Helper Functions\n\n#### findArray()\n\n```js\n// findArray() simply calls toArray() on the cursor returned from\n// Collection.find()\ndb.users.findArray(function(err, users) {\n  // use users\n});\n```\n\n#### findById(), updateById(), findAndModifyById()\n\n```js\n// These functions make it simple to query by ObjectId and they\n// accept either and ObjectId object or a JavaScript String.\ndb.users.findById('53683ca19c49151345e479ad', function(err, user) {\n  // use user\n});\n```\n\n### bind()\n\n```js\n// This allows you to bind a function on a collection so you can\n// easily use mongo-wrapper with libraries like async\nvar user_id = db.id('53683ca19c49151345e479ad');\nasync.parallel({\n  user: db.users.bind('findById', user_id),\n  reservations: db.reservations.bind('findArray', {user_id: user_id})\n}, callback);\n```\n\n#### db.id()\n\n```js\n// a wrapper around ObjectId\ndb.id(); // creates a new ObjectId\ndb.id('53683ca19c49151345e479ad'); // creates the ObjectId\ndb.id('invalid id'); // returns null\n```\n","maintainers":[{"name":"dmcaulay","email":"dmcaulay@gmail.com"}],"time":{"modified":"2022-06-20T06:12:24.347Z","created":"2013-03-04T23:43:59.334Z","0.0.0":"2013-03-04T23:44:01.487Z","0.0.1":"2013-03-05T00:12:27.852Z","0.0.2":"2013-03-05T00:33:15.260Z","0.0.3":"2013-11-09T05:06:39.618Z","0.0.4":"2013-11-09T06:40:34.894Z","0.0.5":"2013-11-21T04:44:50.742Z","0.0.6":"2013-11-21T04:49:02.528Z","0.0.7":"2013-11-21T04:57:01.090Z","0.0.8":"2013-12-01T23:39:36.003Z","0.0.9":"2013-12-15T04:51:57.454Z","0.0.10":"2013-12-15T04:58:52.541Z","0.0.11":"2013-12-23T02:14:40.388Z","0.0.21":"2014-02-24T06:03:17.242Z","0.0.22":"2014-02-24T06:08:32.475Z","0.0.23":"2014-02-25T21:03:56.680Z","0.0.24":"2014-03-19T08:12:56.478Z","0.0.25":"2014-05-06T01:47:21.493Z","0.0.26":"2014-06-25T05:39:39.849Z","0.0.27":"2014-07-16T19:45:31.738Z","0.0.28":"2014-07-27T22:58:42.236Z","0.0.29":"2015-02-17T06:07:18.488Z"},"author":{"name":"Dan McAulay & Jesse Ditson"},"readmeFilename":"README.md","license":"BSD","homepage":"https://github.com/dmcaulay/mongo-wrapper","repository":{"type":"git","url":"https://github.com/dmcaulay/mongo-wrapper.git"},"bugs":{"url":"https://github.com/dmcaulay/mongo-wrapper/issues"}}