Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongojs

Package Overview
Dependencies
Maintainers
2
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongojs - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

tests/test-cursor-explain.js

2

index.js

@@ -255,3 +255,3 @@ var mongodb = require('mongodb');

opts[tmp] = 1;
};
}
this._get(function(err, db) {

@@ -258,0 +258,0 @@ if (err) return callback(err);

@@ -9,3 +9,3 @@ {

],
"version": "0.9.3",
"version": "0.9.4",
"repository": "git://github.com/mafintosh/mongojs.git",

@@ -12,0 +12,0 @@ "contributors": [

# mongojs
A [node.js](http://nodejs.org) module for mongodb, that emulates [the official mongodb API](http://www.mongodb.org/display/DOCS/Home) as much as possible.
It wraps [mongodb-native](https://github.com/christkv/node-mongodb-native/) and is available through [npm](http://npmjs.org)
It wraps [mongodb-native](https://github.com/mongodb/node-mongodb-native/) and is available through [npm](http://npmjs.org)
npm install mongojs
[![build status](https://secure.travis-ci.org/mafintosh/mongojs.png)](http://travis-ci.org/mafintosh/mongojs.png)
[![build status](https://secure.travis-ci.org/mafintosh/mongojs.png)](http://travis-ci.org/mafintosh/mongojs)

@@ -10,0 +10,0 @@ ## Usage

@@ -9,18 +9,13 @@ var assert = require('assert');

var insertNextDoc = function() {
db.a.insert(docs, function(err) {
assert.ok(!err);
if (!docs.length) {
test(db, function() {
db.a.remove(function(err) {
assert.ok(!err);
db.close();
});
test(db, function() {
db.a.remove(function(err) {
assert.ok(!err);
db.close();
});
return;
}
db.a.save(docs.shift(), insertNextDoc);
};
});
});
insertNextDoc();
});
};
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc