# mongolauncher

> mongodb install & launcher

Latest version **0.3.3** (published 2017-07-26) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install mongolauncher
pnpm add mongolauncher
yarn add mongolauncher
bun add mongolauncher
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.3.3 |
| Published | 2017-07-26 |
| First published | 2017-06-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | joje |
| Maintainers | joje |
| Keywords | mongodb, mongo |

## Links

- npm: https://www.npmjs.com/package/mongolauncher
- Repository: https://github.com/attrs/mongolauncher
- Issues: https://github.com/attrs/mongolauncher/issues
- npm.io page: https://npm.io/package/mongolauncher

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [download](https://npm.io/package/download.md) ^3.1.2
- [fs-extra](https://npm.io/package/fs-extra.md) ^3.0.1
- [untildify](https://npm.io/package/untildify.md) ^3.0.2
- [download-status](https://npm.io/package/download-status.md) ^2.1.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 0.3.3 (latest) — 2017-07-26
- 0.3.2 — 2017-06-24
- 0.3.1 — 2017-06-24
- 0.3.0 — 2017-06-24

## README

# mongolauncher

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]

Automatically install & launch MongoDB.

## Installation
```sh
$ npm install mongolauncher --save
```

## Usage

#### Programmatically

```js
var mongolauncher = require('mongolauncher');

// use default options, dbpath(~/.mongolauncher/db/default), version(3.0.15), no auth
mongolauncher.launch(27017);

// with options
mongolauncher.launch({
  port: 27017,
  version: '3.4.5',
  auth: true,
  username: 'user',
  password: 'password',
  authdb: 'admin',
  argv: ['--directoryperdb', '--smallfiles', '--journal'],
  dbpath: '/mongo/mydb/db',
  logpath: '/mongo/mydb/logs',
  stdout: process.stdout,
  stderr: process.stderr
}, function(err, ps) { ... });
```

### License

  [MIT](LICENSE)  

[npm-image]: https://img.shields.io/npm/v/mongolauncher.svg?style=flat
[npm-url]: https://npmjs.org/package/mongolauncher
[downloads-image]: https://img.shields.io/npm/dm/mongolauncher.svg?style=flat
[downloads-url]: https://npmjs.org/package/mongolauncher
[travis-image-flat]: https://img.shields.io/travis/attrs/mongolauncher.svg?style=flat
[travis-image]: https://travis-ci.org/attrs/plexi.mongodb.svg?branch=master
[travis-url]: https://travis-ci.org/attrs/plexi.mongodb
[gratipay-image]: https://img.shields.io/gratipay/teamattrs.svg?style=flat
[gratipay-url]: https://gratipay.com/teamattrs/

---
_Source: https://npm.io/package/mongolauncher · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
