dsh-jwt-uckkk
JWT 解码:解析 header/payload,判断过期(不验签)
AI 分析
用于快速解析 JWT 的头部和负载并判断是否过期。纯 Node 实现,适合需要便捷查看 Token 内部信息的开发者。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:uckkk/dsh-jwt-uckkkドキュメント
README 全文を読む ↗dsh-jwt-uckkk · JWT 解码
解析 JWT 的 header/payload,判断是否过期(不验签)。纯 Node 实现。
提供的工具
| 工具 | 作用 |
|---|---|
jwt_decode | 解码 JWT |
安装
dsh plugin add dsh-jwt-uckkk
安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-jwt-uckkk"。
用法示例
看看这个 token 里有什么、过期没有
→ 调用 jwt_decode(token="eyJhbGci...")