StreamToMongo
Stream objects straight into a MongoDB database.
Install
npm install stream-to-mongo
Main usecase
Seeding a database from large HTTP response or JSON file.
Example
var request = var parser = var options = db: 'mongodb://localhost:27017/test-stream' collection: 'docs' var streamToMongo = options; ;
Test
Needs a MongoDB instance running.
make test
License
MIT