# mongomate

> MongoDB Explorer

Latest version **0.2.0** (published 2013-01-08) · BSD license · 0 weekly downloads

## Install

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

Provides the command `mongomate`.

## 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.2.0 |
| Published | 2013-01-08 |
| First published | 2012-12-26 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+7 in 4 direct dependencies) |
| Install scripts | no |
| Author | Ben Evans |
| Maintainers | bencevans |
| Keywords | mongo, mongodb, explore, gui, interface, web, express |

## Links

- npm: https://www.npmjs.com/package/mongomate
- Repository: https://github.com/bencevans/mongomate
- Issues: http://github.com/bencevans/mongomate/issues
- npm.io page: https://npm.io/package/mongomate

## Dependencies (6)

- [hbs](https://npm.io/package/hbs.md) ~2.0.1
- [open](https://npm.io/package/open.md) 0.0.2
- [express](https://npm.io/package/express.md) ~3.0.5
- [mongodb](https://npm.io/package/mongodb.md) ~1.2.6
- [humanize](https://npm.io/package/humanize.md) ~0.0.6
- [optimist](https://npm.io/package/optimist.md) ~0.3.5

## 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.2.0 (latest) — 2013-01-08
- 0.1.1 — 2012-12-31
- 0.1.0 — 2012-12-26

## README

# MongoMate [![Build Status](https://travis-ci.org/bencevans/mongomate.png?branch=master)](https://travis-ci.org/bencevans/mongomate)

Standalone or [ExpressJS](http://expressjs.com) mountable MongoDB Explorer.

![Demo Screenshot](http://cl.ly/image/2m33210D3Z23/Screen%20Shot%202013-01-06%20at%2021.30.30.png)

## Installation

### Standalone

Install Globaly from NPM:

    npm install -g mongomate

Run:

    mongomate [mongodb uri] [admin username] [admin password]

If `[mongodb uri]` isn't provided it will default to localhost.

Example:

    mongomate mongodb://mongohost.com:2751 user5432 pa55w0rd 

### Express Mounted

  
    npm install mongomate

```javascript
// mongoClient can be a mongodb server connection or a mongodb server (no db uri)
var mongoClient = 'mongodb://localhost';

// Create the MongoMate Instance
var mongomate = require('mongomate')(mongoClient);

// If you need authentication for the admin client replace the previous line with
var mongomate = require('mongomate')(mongoClient, {
    auth {
        username: 'ADMIN_USERNAME',
        username: 'ADMIN_PASSWORD',
    }
});

// Add this line in your app.configure(function() { ...
app.use('/mongomate', mongomate);
  ```
  
Now when you go to <http://yourapp/mongomate>, you'll get a MongoMate Interface

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