Skip to content

j3k0/node-authdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

NodeJS lib to access a Redis authentication database

Resources

Stars

Watchers

Forks

Packages

No packages published