Socket
Book a DemoInstallSign in
Socket

@kinde/jwt-decoder

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kinde/jwt-decoder

## Description

latest
npmnpm
Version
0.2.0
Version published
Weekly downloads
19K
10.22%
Maintainers
1
Weekly downloads
 
Created
Source

Kinde JWT decoder

Description

Simple library to decode JWT tokens

Installation

# npm
npm install @kinde/jwt-decoder
# yarn
yarn add @kinde/jwt-decoder
# pnpm
pnpm install @kinde/jwt-decoder

Usage

import 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

Kinde Documentation - Explore the Kinde docs

Contributing

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.

License

By contributing to Kinde, you agree that your contributions will be licensed under its MIT License.

FAQs

Package last updated on 08 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts