authdb
v0.3.0
Published
database of authenticated users
Downloads
10
Readme
AuthDB
Quick start
Install
npm install authdb
Example
var authdb = require("authdb");
var client = authdb.createClient({
host: "127.0.0.1",
port: 6379
});
client.getAccount(token, function(err, account) {
if (err)
console.dir(err);
else
console.dir(account);
});
client.addAccount(token, account, function(err, result) {
if (err)
console.dir(err);
else
console.dir(result);
});