Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 446 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 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();