jwt-parser-cli
v1.0.2
Published
A simple command-line tool to parse and display the contents of a JSON Web Token (JWT).
Readme
JWT Parser CLI
A simple command-line tool to parse and display the contents of a JSON Web Token (JWT).

Installation
Install the CLI globally using npm:
npm install -g jwt-parser-cliUsage
To use the CLI, simply run the jwt-parse command followed by the JWT you want to decode:
jwt-parse <your_jwt_here>Example
jwt-parse eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5cThis will display the header, payload, and signature of the JWT in a colorized and easy-to-read format.
Development
To run the project locally for development:
- Clone the repository:
git clone https://github.com/your-username/jwt-parser-cli.git cd jwt-parser-cli - Install dependencies:
npm install - Run the tests:
npm test
License
ISC
