How to use the db function from nomnom

Find comprehensive JavaScript nomnom.db code examples handpicked from public code repositorys.

30
31
32
33
34
35
36
37
38
39
        default: 'Disease',
        help: 'Name of the database collection to write to'
    })
    .parse();

var url = 'mongodb://localhost:27017/' + opts.db;

// Grab the path from the command line
var path = opts.disease;
if (!path) {
fork icon0
star icon0
watch icon12

+ 11 other calls in file