mongoeye
v0.0.1
Published
Mongoeye npm binding
Downloads
3
Readme
Basic nodejs binding for mongoeye
Installation
npm install mongoeye
Usage
mongoeye({
host: 'localhost',
db: 'test',
col: 'user',
format: 'json'
})
.then(result => console.log(result))
.catch(err => console.error(err))
Module basically supports all flags
If format: json
option is provided then result will be automatically parsed to JSON