Back to home

uckkk

dsh-jwt-uckkk

@{name=dsh-jwt-uckkk; version=0.1.0; description=JWT 解码:解析 header/payload,判断过期(不验签); type=module; main=lib/index.js; exports=; files=System.Object[]; dsh=; keywords=System.Object[]; author=istone <ad571@qq.com>; license=MIT; peerDependencies=}.description

Stars
0
Language
JavaScript
Created
Aug 17, 2026
Updated
Aug 17, 2026

Introduction

dsh-jwt-uckkk · JWT 解码

解析 JWT 的 header/payload,判断是否过期(不验签)。纯 Node 实现。

提供的工具

工具作用
jwt_decode解码 JWT

安装

dsh plugin add dsh-jwt-uckkk

安装后在 profile 的 package.jsondsh.profile.bundles 中加入 "dsh-jwt-uckkk"

用法示例

看看这个 token 里有什么、过期没有
→ 调用 jwt_decode(token="eyJhbGci...")