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(...);

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i mongo-collection-fake

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • tphummel