node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป


MongoHQ API NodeJS



You can get the most recent stable version through NPM

npm install mongohq

To use, just require it, and do stuff.

// Must first authenticate using your account's API key
var mhq = require('mongohq').authenticate({apikey : 'derp'});

// Get all databases
mhq.database.all({}, function( databases ) {
  // do something asynchronous with databases array