# mongodb-installer

> Download & copy Mongodb binaries to your project, create db directories, gives you the command to start the server

Latest version **0.0.2** (published 2015-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install mongodb-installer
pnpm add mongodb-installer
yarn add mongodb-installer
bun add mongodb-installer
```

Provides the command `mongodb-installer`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-08-17 |
| First published | 2015-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Urucas |
| Maintainers | urucas |
| Keywords | mongo, db, mongodb, nosql |

## Links

- npm: https://www.npmjs.com/package/mongodb-installer
- Repository: https://github.com/Urucas/mongodb-installer
- Homepage: https://github.com/Urucas/mongodb-installer#readme
- Issues: https://github.com/Urucas/mongodb-installer/issues
- npm.io page: https://npm.io/package/mongodb-installer

## Dependencies (4)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.1
- [semafor](https://npm.io/package/semafor.md) 0.0.1
- [minimist](https://npm.io/package/minimist.md) ^1.1.3
- [glue-path](https://npm.io/package/glue-path.md) 0.0.4

## 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.0.2 (latest) — 2015-08-17
- 0.0.1 — 2015-08-17

## README

# mongodb-installer
Download & copy Mongodb binaries to your project, create db directories, gives you the command to start the server

#Usage
```bash
npm install mongodb-installer
```

**CLI**
```bash
mongodb-installer --dbpath <realtive_path_to_data_db>
```
<img src="https://raw.githubusercontent.com/Urucas/mongodb-installer/master/screen.png" />

**API**
```javascript
import PlatformInstaller from 'mongodb-installer'
let db_path = "data/db"
let installer = new MongoInstaller(process.platform, db_path)
  installer.run( (err, data) => {
    console.log(data);
    // { db: '/path/to/my/project/data/db',
    //  bin: '/path/to/my/project/data/mongodb/bin/mongod',
    //  params: ['--dbpath', '/path/to/my/project/data//data/db'],
    //  cmd: '/path/to/my/project/data/mongodb/bin/mongod --dbpath /path/to/my/project/data//data/db' }
  });
```

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