node-keyboard-mongo

1.3.1 • Public • Published

node-keyboard-mongo

npm version

MongoDB support for node-keyboard

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

Readme

Keywords

Package Sidebar

Install

npm i node-keyboard-mongo

Weekly Downloads

2

Version

1.3.1

License

MIT

Last publish

Collaborators

  • justinjmoses