## Description
Simple library to decode JWT tokens
``bash`npm
npm install @kinde/jwt-decoderyarn
yarn add @kinde/jwt-decoderpnpm
pnpm install @kinde/jwt-decoder
import function
`ts`
import { jwtDecoder } from "@kinde/jwt-decoder";
Simple decode
`ts`
const decodedToken = jwtDecoder("eyJhbGc...");
Decode with extended type
`ts``
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:
1. Fork the repository.
2. Create a new branch.
3. Make your changes.
4. Submit a pull request.
By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.