github-key-token
Use your local ssh private key to create a username token that can be verified using your Github public key
npm install github-key-token
Usage
var ghtoken =var verify = ghtoken// use your own username here - mine won't work for you :)var sign = ghtoken
Default TTL for the token is 3600s. To change this pass it as an option
var sign = ghtoken // 1000s ttl
This module is useful if you are building semi private api and want to do auth without having to setup username/passwords and send them over the wire
License
MIT