yubikey

A Node.js client for verifying YubiKey OTPs

A Node.js client library for verifying OTPs with the Yubikey api servers.

Usage:

var yubikey = new(require('yubikey'));
 
function onVerify(err) {
  // if err is null, you're good 
}
 
yubikey.verify('vvvvvvcurikvhjcvnlnbecbkubjvuittbifhndhn', onVerify);