# mongs

> A utility to stream data out of mongodb

Latest version **0.2.1** (published 2014-09-10) · ISC license · 0 weekly downloads

## Install

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

Provides the command `mongs`.

## 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.1 |
| Published | 2014-09-10 |
| First published | 2014-08-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| Author | Jacob Lowe |
| Maintainers | jacoblwe20 |
| Keywords | mongodb, stream, dat |

## Links

- npm: https://www.npmjs.com/package/mongs
- npm.io page: https://npm.io/package/mongs

## Dependencies (4)

- [mongodb](https://npm.io/package/mongodb.md) ~1.4.8
- [through](https://npm.io/package/through.md) ^2.3.4
- [minimist](https://npm.io/package/minimist.md) ~1.1.0
- [JSONStream](https://npm.io/package/JSONStream.md) ^0.9.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.2.1 (latest) — 2014-09-10
- 0.1.1 — 2014-08-27
- 0.1.0 — 2014-08-27
- 0.0.3 — 2014-08-23
- 0.0.2 — 2014-08-23

## README

[![https://travis-ci.org/jcblw/node-mongs](https://travis-ci.org/jcblw/node-mongs.svg)](https://travis-ci.org/jcblw/node-mongs)
# Mongs [![Build Status](https://travis-ci.org/jcblw/node-mongs.svg?branch=master)](https://travis-ci.org/jcblw/node-mongs)

a command line tool to stream [mongodb](http://www.mongodb.com/) data to terminal so it can be piped to things like [dat](http://dat-data.org)

## Install

    $ npm install mongs -g

## Usage

    $ mongs -d databaseName -c collectionName [ -h host -p port ]

you can pipe the results to dat

    $ mongs -d project -c geopoints | dat import --json --primary=_id  

you can also access remote urls and even authenticate 

    $ mongs --user test --password 1234 -h hello.example.com -p 49153 -d sample -c locations

## Wishlist

- better intergration into dat
- better name

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