js-passcode
This is a custom element V1-based Passcode authentication.
Examples
There are some examples in "./examples" in this package.Here is the first one to get you started.
Installation
npm install js-passcode;
Usage
Add passcode element to HTML.
Perform passcode authentication with JS.
; // Correct passcodeconst correctPasscode = '1234'; // Passcode authenticationdocument;