0.0.8 • Published 8 years ago

cli-mongo-connection v0.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

cli-mongo-connection

JavaScript Style Guide

NSP Status

Get the Mongo information for command line programs.

Code Usage

// your-program.js
const cliMongoConnection = require('cli-mongo-connection');

async function main() {
    const db = await cliMongoConnection();
    // do something with the connection to the database
}

Program Usage

$ node your-program.js --host <host> --port <port> --username <username> --password <password>

Vision

I built this to easily connect to a mongo database to run small scripts.

You can only connect to one database.

It just has the host, port, username and password.

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago