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:
bastantoine 2022-12-27 09:38:35 +01:00 committed by GitHub
parent ebb7301a98
commit acc7f0a586
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 567 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import { tool as jwtParser } from './jwt-parser';
import { tool as chmodCalculator } from './chmod-calculator';
import { tool as mimeTypes } from './mime-types';
import { tool as otpCodeGeneratorAndValidator } from './otp-code-generator-and-validator';
@ -63,6 +64,7 @@ export const toolsByCategory: ToolCategory[] = [
metaTagGenerator,
otpCodeGeneratorAndValidator,
mimeTypes,
jwtParser,
],
},
{