This library can be used to parse otpauth://
URIs used by Google Authenticator as defined in this
wiki page. This is the same
format commonly used in QR Code for use with Google Authenticator.
The package is available from NPM:
npm install url-otpauth
And from Bower:
bower install url-otpauth
Documentation is avaiable in the doc
folder and is available online
here.