aboutsummaryrefslogtreecommitdiff
path: root/src/tools/http-status-codes/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/http-status-codes/index.ts')
-rw-r--r--src/tools/http-status-codes/index.ts19
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'),
+});