Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A node.js module for the Tokyo Tyrant database
JavaScript
tree: 5f7d12254c

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo.js
readme.txt
tyrant.js

readme.txt

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");
tyrant.put('town', 'Bangor');

tyrant.get('town', function(value, error) {
  puts('Result '+i+' : '+value);
});



Something went wrong with that request. Please try again.