Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A node.js module for the Tokyo Tyrant database
JavaScript
tree: 9735b4eee9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
LICENSE
README
demo.js
tyrant.js

README

node-tyrant
===========

This is an implementation of the Tokyo Tyrant network protocol for the Node javascript/v8 language.

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();
}




Something went wrong with that request. Please try again.