mongod-mock

0.0.2 • Public • Published

mongod-mock

Mock mongod

Build Status Dependency Status NPM version

Installation

npm install mongod-mock

Usage

In memory:

var db = require('mongod-mock')('mock:memory');

// use db

With a file (only written every 500ms at most, and won't work with multiple processes):

var db = require('mongod-mock')('mock:my-file.json');

// use db

Lots of operations are not supported, but this should work for simple demos

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i mongod-mock

Weekly Downloads

3

Version

0.0.2

License

MIT

Last publish

Collaborators

  • forbeslindesay