plug-dj-login

Log in to Plug.dj and get an auth cookie


Keywords
plug.dj
License
MIT
Install
npm install plug-dj-login@0.0.0

Documentation

plug-dj-login

Log in to Plug.dj and get an auth cookie

Usage

var plugLogin = require('plug-dj-login')

var creds = {
    username: 'twitter-username'
  , password: 'twitter-password'
}

plugLogin(creds, function(err, cookie) {
  console.log(cookie.name, cookie.value);
})

Installation

npm install plug-dj-login

License

MIT