mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-23 16:26:15 -04:00
feat(new-tool): http status codes
This commit is contained in:
parent
6fb4994603
commit
8355bd2ae4
6 changed files with 525 additions and 0 deletions
19
src/tools/http-status-codes/index.ts
Normal file
19
src/tools/http-status-codes/index.ts
Normal file
|
@ -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'),
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue