jwt-encoder

1.0.2 • Public • Published

JWT Encoder

Intro

A command line tool for encoding a jwt token

Install

npm install -g jwt-encoder

Usage

jwt encode -kf private_key.pem -a RS256 -if test.json

Arguments

Flag Required Example Arg Default
decode/encode No decode encode
-a --alg No RS256 HS256
-kf --keyfile Yes if RSA private.pem N/A
-k --key Yes if HS secret N/A
-if --input-file Yes if encoding secret N/A

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i jwt-encoder

    Weekly Downloads

    5

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    2.98 kB

    Total Files

    3

    Last publish

    Collaborators

    • joepuzzo