Web OTP Demo
This is a 2FA OTP code generator written in JS.
It is a supplementary demo for my article Generating 2FA One-Time Passwords in JS Using Web Crypto API.
Live demo can be found here
Just run your favourite http server against the
dist directory. For example
npm i -g http-server http-server dist
Additionally if you want to tinker with it -- you'll need to rebuild the sources before running the server.
npm install npm run build