cli tool to generate TOTP tokens

Usage no npm install needed!

<script type="module">
  import charlesMutabaziGenerateTotp from 'https://cdn.skypack.dev/@charles-mutabazi/generate-totp';


TOPT Generator CLI Using NodeJS

A customizable implementation of Time-based OTP (TOTP).

If something doesn't work, please file an issue


  • yarn global add generate-totp

Sample Usage:

In your terminal run the following

  // to get help
  $ generate-totp --help
  //sample example
  $ generate-totp -k myrandomesharedprivatekey -a sha512 -d 10