Neutralize Pesky Miscreants
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mongo-collection-fake

0.2.0 • Public • Published

Mongo-Collection FAKE

a no-op test double for npm.im/mongo-collection, a helper for accessing kissjs/node-mongoskin models

Build Status
NPM

API

var mc = require('mc-fake'),
    col = mc(host, db, colName);

col.find(..., cb);
col.findOne(..., cb);
col.save(..., cb);

var readStream = mc.stream(...);

install

npm i mongo-collection-fake

Downloadsweekly downloads

7

version

0.2.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar