0.2.7 • Published 11 years ago

mongodb-stream v0.2.7

Weekly downloads
45
License
-
Repository
github
Last release
11 years ago

mongodb-stream

A writable stream that feeds data into mongodb, for use with node >= 0.10.

Usage

Install mongodb-stream from npm:

npm install mongodb-stream

Anywhere you'd like to stream data into mongodb, you can do it like this:

var MongoStream = request('mongodb-stream');
var stream = new MongoSream({
  databaseUri: "mongodb://local/host/test",
  collection: "tweets
});
stream.init(function (err, stream) {
  request(...).pipe(stream);    // the stream writes every instance to mongoDB
});
0.2.7

11 years ago

0.2.6

11 years ago

0.2.5

11 years ago

0.2.4

11 years ago

0.2.3

11 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.1

11 years ago