0.1.3 • Published 11 months ago

mfa-otp v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Simple MFA OTP generator

This is a simple OTP (One Time Password) generator that can be used to generate OTPs for two-factor authentication.

Includes CJS, ESM and UMD builds.

Installation

For NPM:

npm install mfa-otp

For Browser: download the package and in dist folder you will find the UMD build index.umd.js.

<script src="./dist/index.umd.js"></script>
<script>
  const otp = window.mfaOTP.getOTP({
    secretValue: 'SECRET_VALUE',
    epochMS: new Date().getTime(), // optional
  });
  console.log(otp);
</script>
0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago