n2fa

1.0.2 • Public • Published

n2fa

A simple OTP token generator for the commandline.

Usage

n2fa ~/.config/2fa.json

Ideally you would want set this to be an alias command, like for example:
alias 2fa='n2fa ~/.config/2fa.json'

Configuration

This is an example config file:

[
    {
        "service": "Google",
        "accounts": {
            "Default": "01234567890123456789012345678901",
            "Other": "ABCDEFGHIJKLMNOPQRSTUVWXYZ012345",
        }
    }
]

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i n2fa

    Weekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    4.32 kB

    Total Files

    3

    Last publish

    Collaborators

    • metaa