Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: df890a1cb0
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (22 sloc) 0.635 kb
node-tyrant
===========
Version : 0.1
rhys@wave.to 6th July 2009
This is an implementation of the Tokyo Tyrant network protocol for the Node javascript/v8 language.
Pre-requisits
Install Tokyo Cabinet / Tokyo Tyrant, and set up either a b-tree or table database:
For a table database:
ttserver casket.tdb
For a b-tree (key/value) database:
ttserver casket.tcb
Quick Example
var tyrant = require("tyrant.js");
function onLoad () {
tyrant.connect();
tyrant.put('town', 'Bangor');
tyrant.get('town', function(value, error) {
puts('Result : '+value);
});
tyrant.quit();
}
Run demo.js for a more complete demo
Jump to Line
Something went wrong with that request. Please try again.