0.0.8 • Published 6 years ago

cli-mongo-connection v0.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
6 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

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago