{"_id":"mongodb-promises","_rev":"37-c309670bb5d7e122e28773f5a3075006","name":"mongodb-promises","description":"A simple promise based wrapper for mongodb","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"mongodb-promises","version":"0.0.1","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":"","license":"ISC","_id":"mongodb-promises@0.0.1","_shasum":"f4de970b416eb34f4bf0aa0503d892ce0c7ba6b0","_from":"mongodb-promises","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"f4de970b416eb34f4bf0aa0503d892ce0c7ba6b0","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.1.tgz","integrity":"sha512-sOESe5oJoxmYjfx4a/VBQBKN3N94SOeB4SWdpMJB1sscYDCevaDJxw3PNo8h+Xyx4A6FyD3yBi0T5wPwu4teXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgXrMgZ3+UJ9hLU5tdi/+SsOCk4nWXU5CTW6Wgu/YDCAiB3dDgRa/MeREuzhMq7+fGymNE69O+bUtPZYSGhnbup7g=="}]}},"0.0.2":{"name":"mongodb-promises","version":"0.0.2","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["aws","aws-sqs","poller"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.2","_shasum":"055ddcdc49fd59c9085b19e475ae67c6716ed41c","_from":"mongodb-promises/","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"055ddcdc49fd59c9085b19e475ae67c6716ed41c","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.2.tgz","integrity":"sha512-Cp++v6YAE+ht9T5kreHTp5FT7lgkagC6XRycJDtiH6tTS8jBhReQ4iHXSCz5l0NizGyvzIpNxTjIdUDddWbVRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXjJhzXkhpDpHJTk26Xh+VWXwXiIlDjp1OGqiD80TkOAiAs+zf018h6bSMP+IKujayJy0tVVlLL3OUW7ocIg/hHHg=="}]}},"0.0.3":{"name":"mongodb-promises","version":"0.0.3","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.3","_shasum":"579a075cd6a80f3573e2d44cf20bdcb181f7245a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"579a075cd6a80f3573e2d44cf20bdcb181f7245a","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.3.tgz","integrity":"sha512-C/H4Jw0GBMKtecIYjpoINlEIz6kPTT3xgwAzGIBKn6Bch0FllUjN+LVWCuEGJrN31/Er3foV8DRcTn/fcwklqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC83dTndTOpWean03vqccax+vPFmJkgJupFRrBFeA5x6gIgcsJfSp2tlzGv0nmcUBHH+5YIq40C6v0yJirs5ASAl/4="}]}},"0.0.4":{"name":"mongodb-promises","version":"0.0.4","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.4","_shasum":"02b2383becb7128e85491f3f13be0a35868df5f7","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"02b2383becb7128e85491f3f13be0a35868df5f7","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.4.tgz","integrity":"sha512-Fe0olhbADHMv5if5vXbv4mn3yGV3u0CUp4f4W6cA7CVCnVei91IYcBxeJEFad/IStOccuJF6YDVVJo/39nj8HQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSilexLO9d4CO5Okv75qCaTGjzI9odRwcLT6YsilEtgAiB+9QLFBhdC8Asruy1XSWCL9+1kID5WwvmYhmVLW3qZSQ=="}]}},"0.0.5":{"name":"mongodb-promises","version":"0.0.5","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.5","_shasum":"2e7580c76162a28c36b4d2472c36338fe952d88f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"2e7580c76162a28c36b4d2472c36338fe952d88f","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.5.tgz","integrity":"sha512-Qei/4+aIy6m+V0gKyqxf+4cqeAXeR77zCa15GlK4/eQC5AeirBIt55pw33eK2qbnWPG825EIYio3vKJRKgFv4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0/Iob474r9CXwEjp1qsjv49xqwP+AFX6qUSmDLEZrrwIgVqa6waTDn0NMPtrMlGoVmdXfmCgQtcplfPT9M8r6ZvE="}]}},"0.0.6":{"name":"mongodb-promises","version":"0.0.6","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.6","_shasum":"d4e71e5f564ff742e40ef4d1a90609e792c42ba1","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"d4e71e5f564ff742e40ef4d1a90609e792c42ba1","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.6.tgz","integrity":"sha512-piNTWjYrxjWhl78dk0uQxFywiy0uJHoNG/RUwN1rm63t2rh3AQ4yoJovCDn/G36N3nYhmYC0zg06bXiwWeSwvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRQnc8GyJPMV40UGtFEFUIcUaC7atUhw1HkYKlsF6ecAiEA5qVjU7ZGZPeeptzwY6PAv7646Vsu9aWLBrLhul3lbzw="}]}},"0.0.7":{"name":"mongodb-promises","version":"0.0.7","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.7","_shasum":"199af4ddfeb8da700eab1bc824c7611eb3a85b78","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"199af4ddfeb8da700eab1bc824c7611eb3a85b78","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.7.tgz","integrity":"sha512-PCELjHTxeaCkXWQNHnDU2qHvuOFL90DGfV3frflur8gkDmJJbaNJVdWdgKNi0jGz5hZ38Pndl/AtCyvNKrvH2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE12VOEjKRWT12Tt6TnrZWLU2s0BHdvPgWe/km9GiuYsAiEA+iUWFLcF25cQq8TurJE+SSX6+zEZe0GjNPW3cY34iTU="}]}},"0.0.8":{"name":"mongodb-promises","version":"0.0.8","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.8","_shasum":"06db9f5e7d07ebf6f6f0039f9f1f6320b96a6d08","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"06db9f5e7d07ebf6f6f0039f9f1f6320b96a6d08","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.8.tgz","integrity":"sha512-piPA+WQFeSQ/5Tf/ciBmZ/23QiZ5lTTwXF/96ytKpFQ1kl015nhsmdF4U7fvrtTISSo8Iy6OfWm4pkO3G8xe/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3ai1wUPxDzI4E+A1dU7rqD8tZBv5iDB9KAVlFBlG6JAiEAmJ8rxvpOjqkjg5juvnsUlkDb0QLGSvW7+02CWz4Ouig="}]}},"0.0.9":{"name":"mongodb-promises","version":"0.0.9","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.9","_shasum":"5853b5073802b639d3f6ccd3aab75e858dad3c21","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"5853b5073802b639d3f6ccd3aab75e858dad3c21","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.9.tgz","integrity":"sha512-pzQo0s9yfj7QR5zyC2uawApyjPJjZNcabeA5yURtM9qyWidQ9ts5dtpiv/kx5YfKCK6Hl3cLJ0j6SqGUpfRGzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICp8N9xm7grwMzeqRmsUfuX1Tvu6czj1/jxdog6Ryh+NAiA6O0ALM+Wjk0hYLwAoFg6+d26NmxZ8gT7DoJ3r0IjHFA=="}]}},"0.0.10":{"name":"mongodb-promises","version":"0.0.10","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.10","_shasum":"3b1620661a364a6c7aad079aee08ede4d972db1a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"3b1620661a364a6c7aad079aee08ede4d972db1a","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.10.tgz","integrity":"sha512-laMJqo8KkhmE5rZsjVgXHeByoIeikhzdr2aRuS3rAgUhFP1LtcXknMUkzIogCl2eenLvYi6OPesIeBft59aJBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEx4Do1jRByqvE4otU6DYGXB/SuUO9jAiotLNM5D7QZ5AiAI7RQa00KbjnMWNf1jAZzKsT9kZtrhYr3PQ9p+Ojq+dg=="}]}},"0.0.11":{"name":"mongodb-promises","version":"0.0.11","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.11","_shasum":"0eff21e630a6557655975f32c6bcc2f88f26fc12","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"0eff21e630a6557655975f32c6bcc2f88f26fc12","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.11.tgz","integrity":"sha512-9wJzrwkgQc+M+o6dgW9OsQyoWjMoPzT6BL4M+BQG63j/Xb4YPJTBE/5jGsE0ZvROKVTW2z2tOJhwdyaSQo8luw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF4zdjiNwQMyVejaJOIH1hjZPSp2Z5PHI0gtleefXxkkAiAUI+WAItG5p80d6rVKNqk4qJ7bLSBJcJQnrS0VJbDNHg=="}]}},"0.0.12":{"name":"mongodb-promises","version":"0.0.12","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.12","_shasum":"28e5bf9ab9d9ec9e4263ef8da9f2bae82b5c7f2a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"28e5bf9ab9d9ec9e4263ef8da9f2bae82b5c7f2a","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.12.tgz","integrity":"sha512-GVbtrDlcGGbZFfe5WirLEoCmMA4wDN5zqmnqnYPv3qByM8EqTTEk5q0IBAbEzimpQYmQqJmPFMAslA8PSXAszA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4n35wyZKNkJIHsWRadcjCuI0xvdQMzSePC9Z/bxZrLQIgGaZxSs7ZG84AAoZ5NsgtToepOiXp8F+9Xl4scdWmHj0="}]}},"0.0.13":{"name":"mongodb-promises","version":"0.0.13","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.13","_shasum":"04cba631628b77bcd1a10371e00670d0abfc59b2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"04cba631628b77bcd1a10371e00670d0abfc59b2","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.13.tgz","integrity":"sha512-cRTwn1PqEi2qnulIHfvVsuYkn8yLKccJBFD0a5dHu3v8jTnB4H+l+mZIwBSUNIpKleLeIMmvKAzJ9wDOyJcNuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDx1wudLlZuWC3tdZTkrPRZbAmeZPKweOKcKKF5EBh23AiEA4/MtTYG8Uorutb3b2xUFxlaVNTQF1lQqUJIiYGZtC98="}]}},"0.0.14":{"name":"mongodb-promises","version":"0.0.14","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","_id":"mongodb-promises@0.0.14","_shasum":"e80969be028c2ae9121ea36d346a25db78d09e37","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"e80969be028c2ae9121ea36d346a25db78d09e37","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.14.tgz","integrity":"sha512-IhCM2AU9VtU/99hICWkEX9JkEH9kSk9RQiI6qaSSv1o4kICfy/PaxCyDrdzCzuhToHTwlLjoPTkI3eWMbFHapg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzlNgfop9R8akL9aKEb+i302g2rYWZFBA2TSeV8nGmuwIgNa2Zx48YkSTY403fVSMak6AEBWnl5ftCDGF129YuH6M="}]}},"0.0.15":{"name":"mongodb-promises","version":"0.0.15","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","gitHead":"8fadc6867fd1bdd7018b4332686f006015391104","_id":"mongodb-promises@0.0.15","_shasum":"7d92c5bf75cd4ce8dd74e952eae2a9324cf51376","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"7d92c5bf75cd4ce8dd74e952eae2a9324cf51376","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.15.tgz","integrity":"sha512-4wpX5vIvcrGEkxwCiPwG+3XQyHeogsLnGVg96CWu5kkR6piGgRjEtDRCJIjLysWyy4j//ZpXpZkOC/OW8EoLrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUkwqh6ViQ7zfRbv1HIbJ4vh0uJBmjxaLfCDmX2G6jOwIgE3N+riX0zwdvocSQ+JUVzRwcyLz0J5BaX+z5xpeQ7jc="}]}},"0.0.16":{"name":"mongodb-promises","version":"0.0.16","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","gitHead":"1d5ee1cf3ea519fd0cf6347ed1cffb7ec2f1caa5","_id":"mongodb-promises@0.0.16","_shasum":"1b5a0a6182d434d39fc24c50921593b57304a7af","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"1b5a0a6182d434d39fc24c50921593b57304a7af","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.16.tgz","integrity":"sha512-ZphZsn1dZEQNAztc5KozE8eLjIWoE9p5uwIF9r7yM5fftsrvJywjA3hhz1UsipnisHf2BZiR/p8jE9GWGplwNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUBuHMKLJ6hAsl3YZQq/wIADobSkw5/6ww8ZR0UYjN4AIgYO+anRu2TmNp73Msb8IveyYdM6i1irPVTCsQ+kSjohw="}]}},"0.0.17":{"name":"mongodb-promises","version":"0.0.17","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"mongodb":"^1.4.8","q":"^1.0.1"},"devDependencies":{"mocha":"^1.21.4","sinon":"^1.10.3","chai":"^1.9.1"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","gitHead":"c5b89222e29ebab20526a09c8ffded63a559ec3d","_id":"mongodb-promises@0.0.17","_shasum":"273d51f869370e161bf3f1695c308245b2643e92","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"dist":{"shasum":"273d51f869370e161bf3f1695c308245b2643e92","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.0.17.tgz","integrity":"sha512-b5stghftBP/pNILEsNvGGMRIrv5qxh06Wqh0b3wtLAUrDvqbU9P6AUymRkHHczPi16V+9lA6WOQnxFIX23wn1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTMKnpOVihpbFx/fKAKSn3Iavu54TXrVYiLujdk/sgGAIgLIKXRs1zr37AuDrBUyhm/WsoZW71w4mAlzIE+5NZI9k="}]}},"0.2.0":{"name":"mongodb-promises","version":"0.2.0","description":"A simple promise based wrapper for mongodb","main":"index.js","directories":{"test":"test"},"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"keywords":["mongodb","promises","mongodb-promises"],"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"},"homepage":"https://github.com/ankitpatial/mongodb-promises","dependencies":{"q":"^1.2.0"},"peerDependencies":{"mongodb":">=1.4.8"},"devDependencies":{"mocha":"^2.2.4","sinon":"^1.14.1","chai":"^2.2.0"},"scripts":{"test":"mocha"},"author":{"name":"Ankit Patial"},"license":"ISC","gitHead":"59c65fac6fb16b21b6afb660673cf49dca737374","_id":"mongodb-promises@0.2.0","_shasum":"94cf1e06490c872d5db913f2df8df0d1f6e06d4d","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"ankitpatial","email":"ankitpatial@gmail.com"},"dist":{"shasum":"94cf1e06490c872d5db913f2df8df0d1f6e06d4d","tarball":"https://registry.npmjs.org/mongodb-promises/-/mongodb-promises-0.2.0.tgz","integrity":"sha512-Gt+aie8gPBqysaKcoS7OQ5XpZYHMSbAxf5W0GC3oCI5X+1jYbI/FdaY33pQdTIrwLAG8er9CTSYnE+AbFGVy3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFF/Vw9FOkJ2/lMN9yAliYoMiGuPtTLKDDAIUwwQBntjAiA+qghL2eTi/xfD7UxEYMy9m4cQqQ9rL1zNKmFVrvwHqQ=="}]},"maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}]}},"readme":"mongodb-promises\n================\n\nA simple promise wrapper around mongodb(peer dependency) nodejs drivers.\n\n## How to use it?\n\n### In a big app.\n- Create a file may be db.js and put below code into that.\n```\nvar config      = require('config'),\n    db          = require('mongodb-promises').db(config.db.host, config.db.name);\nmodule.exports = db;\n```\n\n- Now you can use db.js any no. of time time making sure all sharing same db object instance.\n\n```\nvar db          = require('./db')\n    todoColl    = db.collection('todos');\n\ntodoColl.insert([{text: 'first task to do'}, {text: 'second task to do'}])\n        .then(function (resultArr) {\n            console.log('saved successfully');\n        })\n        .catch(function (err) {\n            console.error('Error on insert ', err);\n        });\n\n```\n\n### Simple one file script\n```\nvar db          = require('mongodb-promises').db('host:port', 'db_name'), // host can be array in case of replSet\n    todoColl    = db.collection('todos');\n\ntodoColl.insert([{text: 'first task to do '}, {text: 'second task to do'}])\n        .then(function (resultArr) {\n            console.log('saved successfully');\n        })\n        .catch(function (err) {\n            console.error('Error on insert ', err);\n        });\n\n```\n\n## List of DB methods\n- **collection(collectionName, options)** Returns a collection object to perform operations on a collection using promises.\n- **drop()** To drop database, call it carefully.\n- **createCollection(name, options)** Creates a collections on mongodb, usefull if you want collections be created before use(Mongodb can create collection if not exist on first document creation).\n\n## List of Collection methods\n- **insert(doc, options)** Insert single or array of document(s) [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#insert)\n- **remove(selector, options)** Remove dcument(s) [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#remove)\n- **rename(newName)** Rename collection [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#remove)\n- **save(doc, options)**. [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#save)\n- **update(selector, doc, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#update)\n- **updateUpsert(selector, doc)** Update Or upsert document.\n- **updateMulti(selector, doc)** Update multiple records.\n- **distinct(key, query, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#distinct)\n- **count(filter)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#count)\n- **countAll()** Count all documents in collection.\n- **drop()** Drop collection, use it carefully [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#drop)\n- **findAndModify(query, sort, doc, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#findAndModify)\n- **findAndModifyOrUpsert(query, sort, doc)**\n- **findAndRemove(query, sort, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#findAndRemove)\n- **find(query, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#find)\n- **findOne(query, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#findOne)\n- **mapReduce(map, reduce, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#mapReduce)\n- **group(keys, condition, initial, reduce, finalize, command, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#group)\n- **options()** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#options)\n- **isCapped()** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#isCapped)\n- **geoNear(x, y, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#geoNear)\n- **geoHaystackSearch(x, y, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#geoHaystackSearch)\n- **aggregate(array, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#aggregate)\n- **stats()** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#stats)\n\n- **indexes()** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#indexes)\n- **createIndex(fieldOrSpec, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#createIndex)\n- **ensureIndex(fieldOrSpec, options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#ensureIndex)\n- **indexInformation(options)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#indexInformation)\n- **dropIndex(name)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#dropIndex)\n- **dropAllIndexes()** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#dropAllIndexes)\n- **reIndex()** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#reIndex)\n- **indexExists(indexNames)** [mongodb api](http://mongodb.github.io/node-mongodb-native/api-generated/collection.html#indexExists)\n\n### Changes Log\n#### 0.2.0\n- Mongodb package as peer dependency.","maintainers":[{"name":"ankitpatial","email":"ankitpatial@gmail.com"}],"time":{"modified":"2022-06-20T06:30:30.139Z","created":"2014-08-31T05:08:46.374Z","0.0.1":"2014-08-31T05:08:46.374Z","0.0.2":"2014-08-31T05:23:55.869Z","0.0.3":"2014-08-31T05:26:53.905Z","0.0.4":"2014-08-31T06:34:51.045Z","0.0.5":"2014-08-31T07:48:27.426Z","0.0.6":"2014-09-01T05:57:48.722Z","0.0.7":"2014-09-01T07:45:05.351Z","0.0.8":"2014-09-01T08:50:33.715Z","0.0.9":"2014-09-01T08:56:47.071Z","0.0.10":"2014-09-04T05:45:09.406Z","0.0.11":"2014-09-19T15:09:51.298Z","0.0.12":"2014-09-25T09:33:44.603Z","0.0.13":"2014-09-25T09:46:30.395Z","0.0.14":"2014-09-26T10:31:23.744Z","0.0.15":"2014-11-11T09:19:20.929Z","0.0.16":"2014-11-11T09:22:19.986Z","0.0.17":"2014-11-11T09:25:35.040Z","0.2.0":"2015-04-16T15:30:51.295Z"},"license":"ISC","readmeFilename":"README.md","homepage":"https://github.com/ankitpatial/mongodb-promises","keywords":["mongodb","promises","mongodb-promises"],"repository":{"type":"git","url":"git://github.com/ankitpatial/mongodb-promises.git"},"author":{"name":"Ankit Patial"},"bugs":{"url":"https://github.com/ankitpatial/mongodb-promises/issues"}}