Simple library to decode JWT tokens
# npm
npm install @kinde/jwt-decoder
# yarn
yarn add @kinde/jwt-decoder
# pnpm
pnpm install @kinde/jwt-decoderimport function
import { jwtDecoder } from "@kinde/jwt-decoder";Simple decode
const decodedToken = jwtDecoder("eyJhbGc...");Decode with extended type
const decodedToken = jwtDecoder<
  JWTDecoded & {
    // Extra attributes here
  }
>("eyJhbGc...");Kinde Documentation - Explore the Kinde docs
If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.