Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 446 Bytes

node-fleet

The ´´node-fleet´´ module provides a FleetDB (http://fleetdb.org/) client for Node.js(http://nodejs.org/).

Here is a quick example how to use the module:

var sys = require('sys'),
    fleetdb = require('./inc-js/fleetdb');

var db = new fleetdb.Database();
    db.open('http://127.0.0.1:3400');

db.query(['ping'], function(status, data) {
	sys.puts('Status: ' + status + ' Data:' + data);
});

db.close();