# health-check-mongodb

> Get the health of mongodb infra

Latest version **0.0.3** (published 2015-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install health-check-mongodb
pnpm add health-check-mongodb
yarn add health-check-mongodb
bun add health-check-mongodb
```

## 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.3 |
| Published | 2015-12-18 |
| First published | 2015-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Lucas Rodrigues |
| Maintainers | lucastinik |
| Keywords | health check, mongodb |

## Links

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

## Dependencies (2)

- [mongodb](https://npm.io/package/mongodb.md) ^2.0.52
- [health-check-core](https://npm.io/package/health-check-core.md) 0.0.1

## 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
- [@temporal-architect/claude-plugin](https://npm.io/package/@temporal-architect/claude-plugin.md) — 335 weekly downloads

## Recent versions

- 0.0.3 (latest) — 2015-12-18
- 0.0.2 — 2015-12-18
- 0.0.1 — 2015-12-17

## README

# Health Check Mongodb

## CI
[![Circle CI](https://circleci.com/gh/LucasRodrigues/health-check-mongodb.svg?style=svg)](https://circleci.com/gh/LucasRodrigues/health-check-mongodb)

## Install

```
$ npm install health-check-mongodb
```

## Usage

```
var healthCheckMongodb = require('health-check-mongodb');

healthCheckMongodb.do([{
   url: ''mongodb://validUrl:41140/dbValid'
 }, {
   url: 'mongodb://invalidUrl:41140/dbInvalid'
 }])
   .then(r => {
     console.log(r);
     /*
     { health: false,
       success: 1,
       error: 1,
       details: 
        [ { name: 'mongodb://validUrl:41140/dbValid',
            health: true,
            message: '' },
          { name: 'mongodb://invalidUrl:41140/dbInvalid',
            health: false,
            message: 'getaddrinfo ENOTFOUND invalidUrl:41140' } ] }     
     */
   })
   .catch(r => {
     console.log(r);
   });
```

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