lib/generate.js
function otpauth(key, name) {
  var code = 'otpauth://totp/' + encodeURIComponent(name);
  code += '?secret=' + encodeURIComponent(key);
  code += '&issuer=' + encodeURIComponent('One Sony');
  return code;
}
function otpauth(key, name) {
  var code = 'otpauth://totp/' + encodeURIComponent(name);
  code += '?secret=' + encodeURIComponent(key);
  code += '&issuer=' + encodeURIComponent('One Sony');
  return code;
}
function otpauth ( key , name ) { var code = 'otpauth://totp/' + encodeURIComponent ( name ) ; code += '?secret=' + encodeURIComponent ( key ) ; code += '&issuer=' + encodeURIComponent ( 'One Sony' ) ; return code ; }
Generate link to encode in qrcode

@param     {String}    key
@param     {String}    name
@return    {String}
Generate link to encode in qrcode