BTCChina authentication module.
0.0.1
$ npm i git://github.com/BTCChina/btcchina-auth.git --save
var Auth = require("btcchina-auth");
var obj = {
username: 'yourusername',
password: 'yourpassword'
};
var auth = new Auth(obj);
auth.getToken(function (err, result) {
console.log(result);
});
MIT