url-otpauth-ng
v3.1.0
Published
Parses an otpauth:// URL
Downloads
19
Readme
url-otpauth
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.
Usage
The package is available from NPM:
npm install url-otpauth-ng
In browser:
Using <script src="//unpkg.com/url-otpauth-ng"></script>
Or using esm:
<script type="module">
import { parse } from '//unpkg.com/url-otpauth-ng/dist/url-otpauth-ng.esm.mjs'
</script>