Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.34 KB

JSON-WEB-TOKEN

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.

Installation

To install the JWT Library, you can use npm:

  npm i @adi.lib/json-web-token

Development

Installation

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

Running tests

The library uses Jest for testing. You can run the tests with the following command:

  yarn test

Building

To build the library, you can use the following command:

  yarn build

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please create an issue or submit a pull request.

License

This project is licensed under the MIT License. Feel free to use it in your own projects.