node-http-status
node-http-status copied to clipboard
Utility to interact with HTTP status code in Node.js
Currently, the status code keys on the `HttpStatus` interface are typed incorrectly as strings. For example: ```typescript interface HttpStatus { readonly '100': string; } ``` When it should be ```typescript...
intl
Any plan on supporting multi-language? Thanks
Describe the bug In version 1.8.0 of the http-status package, TypeScript support has been removed. The previous versions included TypeScript definitions, making it easy to use the package in TypeScript...
**Summary** As of now, the definition of each status name looks like this: ```ts readonly '100_NAME': string; ``` Can it be explicit, like: ```ts readonly '100_NAME': 'CONTINUE'; ``` **Motivation** The...
**Describe the bug** Package version 1.8.0 causing status undefined **Additional context**
"Cannot find module 'http-status' or its corresponding type declarations." after migrating to 2.0.0
**Describe the bug** After upgrading to `http-status` 2.0.0, I get the following error on every import of the package. ``` src/controllers/metrics.controller.ts:2:24 – error TS2307: Cannot find module 'http-status' or its...