This is a JSON Web Token (JWT) library developed using TSdx. It provides three main functionalities: signing, decoding, and verifying JWTs. This library follows the Test-Driven Development (TDD) approach to ensure code quality and reliability.
Note: This library is still in the development phase and is not recommended for production use. For a more mature and feature-rich JWT library, I recommend using Auth0 JWT or a similar established library.
To install the JWT Library, you can use npm:
npm i @adi.lib/json-web-token
To set up the development environment, clone the repository and install the dependencies:
git clone https://github.com/your-username/jwt-library.git
cd JWT-Token-Library
yarn install
The library uses Jest for testing. You can run the tests with the following command:
yarn test
To build the library, you can use the following command:
yarn build
Contributions are welcome! If you find any issues or have suggestions for improvement, please create an issue or submit a pull request.
This project is licensed under the MIT License. Feel free to use it in your own projects.