1.0.2 • Published 6 years ago

jwt-encoder v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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

FlagRequiredExample ArgDefault
decode/encodeNodecodeencode
-a --algNoRS256HS256
-kf --keyfileYes if RSAprivate.pemN/A
-k --keyYes if HSsecretN/A
-if --input-fileYes if encodingsecretN/A