node package manager

nosqlimport-mongodb

nosqlimport-mongodb

A module for nosqlimport that allows data to be published to MongoDB.

Installation

npm install -g nosqlimport nosqlimport-mongodb

Import data to MongoDB

cat test.tsv | nosqlimport -n mongodb -u mongodb://localhost:27017/mydatabase --db mycollection

See nosqlimport for further options.