This package has been deprecated

Author message:

this package is no longer maintained.

plexi.mongodb

0.2.4 • Public • Published

plexi.mongodb

NPM Version NPM Downloads Gratipay

Automatically install & launch MongoDB.

Installation

$ npm install plexi.mongodb --save

Usage

Programmatically

if mongodb not installed your system will be installed before launch.

var launcher = require('plexi.mongodb');
 
launcher.launch({
    version: '3.0.3',
    port: 27017,
    dbpath: '.mongo/data',
    logfile: '.mongo/logs/mongo.log'
}, function(err, ps) {
    if( err ) return console.error(err);
    
    console.log('mongodb started pid:%s', ps.pid);
});

Global Usage

install & launch mongodb

cli arguments is same as original "mongod" options.

$ npm install -g plexi.mongodb
$ pm --port 27017 --dbpath "some/dir"

License

MIT

Package Sidebar

Install

npm i plexi.mongodb

Weekly Downloads

1

Version

0.2.4

License

MIT

Last publish

Collaborators

  • admin.attrs
  • aquarela53
  • joje