UNPKG

totp.js

Version:

Two-factor authentication implementation in pure javascript. One-time password generator (HOTP/TOTP) with support for Google Authenticator.

14 lines (10 loc) 244 B
/* * @Author: wuyanxin * @Date: 2018-03-21 23:12:14 * @Last Modified by: wuyanxin * @Last Modified time: 2018-03-21 23:12:14 */ var HOTP = require('./lib/hotp') var TOTP = require('./lib/totp') TOTP.HOTP = HOTP module.exports = TOTP;