mesh-mongo-ds-bus

2.0.4 • Public • Published

mesh-mongodb is a streamable interface for the Mongodb library. See additional action documentation here: http://meshjs.herokuapp.com/docs/database-adapters.

installation

npm install mesh-mongodb

Basic Example:

var mesh = require("mesh");
var mongodb = require("mesh-mongodb");
 
var db = mongodb("mongodb://localhost:27017/mesh-test");
db(mesh.op("insert", { data: { name: "blarg" }})).on("data", function() {
 
});

db mongodb(host)

creates a local meshelt database

  • options - options for the local db
    • name - name of db (optional)
    • store - store to use

Readme

Keywords

none

Package Sidebar

Install

npm i mesh-mongo-ds-bus

Weekly Downloads

7

Version

2.0.4

License

ISC

Last publish

Collaborators

  • architectd
  • crcn