lib/generate.js
function link(key, options) {
  if (options.google && options.name) {
    return 'https://chart.googleapis.com/chart?chs=166x166&chld=L|0&cht=qr&chl=' + otpauth(key, options.name);
  } else {
    return 'https://chart.googleapis.com/chart?chs=166x166&chld=L|0&cht=qr&chl=' + encodeURIComponent(key);
  }
}
function link(key, options) {
  if (options.google && options.name) {
    return 'https://chart.googleapis.com/chart?chs=166x166&chld=L|0&cht=qr&chl=' + otpauth(key, options.name);
  } else {
    return 'https://chart.googleapis.com/chart?chs=166x166&chld=L|0&cht=qr&chl=' + encodeURIComponent(key);
  }
}
function link ( key , options ) { if ( options . google && options . name ) { return 'https://chart.googleapis.com/chart?chs=166x166&chld=L|0&cht=qr&chl=' + otpauth ( key , options . name ) ; } else { return 'https://chart.googleapis.com/chart?chs=166x166&chld=L|0&cht=qr&chl=' + encodeURIComponent ( key ) ; } }
Create a Google charts link to a QR Code with the key embeded in it

@param     {String}    key
@param     {Object}    options
@return    {String}
Create a Google charts link to a QR Code with the key embeded in it