diff options
author | 2023-04-14 01:20:47 +0200 | |
---|---|---|
committer | 2023-04-14 09:04:49 +0200 | |
commit | 8355bd2ae48954115d132dd42a40b1d3de1d9b2e (patch) | |
tree | a903f4560dcef8dcad351df61b05dd9f0a0d0c6e /src/tools/http-status-codes/index.ts | |
parent | 6fb49946031dc093499e826bc228dbbff97e2db9 (diff) | |
download | it-tools-8355bd2ae48954115d132dd42a40b1d3de1d9b2e.tar.gz it-tools-8355bd2ae48954115d132dd42a40b1d3de1d9b2e.tar.zst it-tools-8355bd2ae48954115d132dd42a40b1d3de1d9b2e.zip |
feat(new-tool): http status codes
Diffstat (limited to 'src/tools/http-status-codes/index.ts')
-rw-r--r-- | src/tools/http-status-codes/index.ts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tools/http-status-codes/index.ts b/src/tools/http-status-codes/index.ts new file mode 100644 index 0000000..43afae8 --- /dev/null +++ b/src/tools/http-status-codes/index.ts @@ -0,0 +1,19 @@ +import { HttpRound } from '@vicons/material'; +import { defineTool } from '../tool'; + +import { codesByCategories } from './http-status-codes.constants'; + +export const tool = defineTool({ + name: 'HTTP status codes', + path: '/http-status-codes', + description: 'The list of all HTTP status codes their name and their meaning.', + keywords: [ + 'http', + 'status', + 'codes', + ...codesByCategories.flatMap(({ codes }) => codes.flatMap(({ code, name }) => [String(code), name])), + ], + component: () => import('./http-status-codes.vue'), + icon: HttpRound, + createdAt: new Date('2023-04-13'), +}); |