Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/otpauth/dist/otpauth.umd.js>URI.parse

One Time Password (HOTP/TOTP) library for Node.js, Deno and browsers.
Go to Latest
method URI.parse
import { URI } from "https://deno.land/x/otpauth@v9.0.2/dist/otpauth.umd.js";

Parses a Google Authenticator key URI and returns an HOTP/TOTP object.

Parameters

uri: string

Google Authenticator Key URI.

Returns

HOTP/TOTP object.