totp-magic

0.1.2 • Public • Published

totp-magic

Usage

npx totp-magic

The tool is configured via environment variables.

name description
OTP_URI required - URI according to RFC 4226
OTP_PREFIX optional - output before the code
OTP_SUFFIX optional - output after the code

If an error occurs the tool exits with status code 1.

Output

The following info is written to stdout without a new line separator:

{prefix}{code}{suffix}

History

0.1.2 - npx hopefully working

0.1.0 - initial release

  • basic functionality established

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i totp-magic

    Weekly Downloads

    1

    Version

    0.1.2

    License

    WTFPL

    Unpacked Size

    2.07 kB

    Total Files

    4

    Last publish

    Collaborators

    • schorradt