Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
How to query the CVR database
  1. mkdir cvr-stuff
  2. cd cvr-stuff
  3. mkdir node_modules
  4. npm install mongojs
  5. touch index.js
  6. add the code
var mongojs = require('mongojs');
var db = mongojs('read:123456@', ['cvr']);
db.cvr.findOne({}, function(err, company) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment