1.3.1 • Published 7 years ago

node-keyboard-mongo v1.3.1

Weekly downloads
10
License
MIT
Repository
github
Last release
7 years ago

node-keyboard-mongo

npm version

MongoDB support for node-keyboard

npm.io

Installation

As Global

If you installed node-keyboard globally, then install this plugin via npm i -g node-keyboard-mongo

Then start node keyboard via node-keyboard, and import this plugin via const mongo = requireg('node-keyboard-mongo')

As Local

If instead you cloned node-keyboard, then install locally in that folder via npm i node-keyboard-mongo

Then start node keyboard via node keyboard and import this plugin via const mongo = require('node-keyboard-mongo')

Usage

  • oplog.listen({ uri: String, includePast: Boolean = false })
  • tail({ uri: String, db: String, collection: String, findQuery: Object = {}, fields: Object = {} })
  • query({ uri: String, db: String, collection: String, findQuery: Object = {}, fields: Object = {} })

Examples

Ref: 1. MongoDB Docs: Connection string

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago