0.2.4 • Published 10 years ago

plexi.mongodb v0.2.4

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

2.6.5-alpha.9

11 years ago

2.6.5-alpha.8

11 years ago

2.6.5-alpha.7

11 years ago

2.6.5-alpha.6

11 years ago

2.6.5-alpha.5

11 years ago

2.6.5-alpha.4

11 years ago

2.6.5-alpha.3

11 years ago

2.6.5-alpha.2

11 years ago

2.6.5-alpha.1

11 years ago