mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-04 13:29:13 -04:00
feat(new-tool): jwt parser (#262)
* npm install jwt-decode * added base tool structure * added function to decode JWT and display header and payload * use a table to display the data * show human readable values * added switch to toggle display of parsed values * lint * replaced basic package-lock.json with pnpm-lock.json * change the icon of the tool * simplify return * use camelCase * added description of the tool * always parse the values * use camelCase...
This commit is contained in:
parent
ebb7301a98
commit
acc7f0a586
9 changed files with 567 additions and 0 deletions
11
src/tools/jwt-parser/index.ts
Normal file
11
src/tools/jwt-parser/index.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { Key } from '@vicons/tabler';
|
||||
import { defineTool } from '../tool';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: 'JWT parser',
|
||||
path: '/jwt-parser',
|
||||
description: 'Parse a JWT (JSON Web Token) to display its content.',
|
||||
keywords: ['jwt', 'parser'],
|
||||
component: () => import('./jwt-parser.vue'),
|
||||
icon: Key,
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue