refactor(jwt-parser): simplified code

This commit is contained in:
Corentin Thomasset 2023-01-13 13:59:27 +01:00
parent acc7f0a586
commit f52f7a845c
No known key found for this signature in database
GPG key ID: 3103EB5E79496F9C
8 changed files with 203 additions and 558 deletions

View file

@ -4,8 +4,24 @@ 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'],
description: 'Parse and decode your JSON Web Token (jwt) and display its content.',
keywords: [
'jwt',
'parser',
'decode',
'typ',
'alg',
'iss',
'sub',
'aud',
'exp',
'nbf',
'iat',
'jti',
'json',
'web',
'token',
],
component: () => import('./jwt-parser.vue'),
icon: Key,
});