ts-http-status-codes
v1.0.1
Published
HTTP Status Codes for TypeScript
Downloads
16
Maintainers
Readme
HTTP Status Codes for TypeScript
Individual exports for each HTTP Status Code.
This package differs from other previous implementations in that each status code is its own individual export.
To install as NPM package:
npm install --save ts-http-status-codes
Usage:
import { Unauthorized, NotFound } from "ts-http-status-codes";
Initial work by:
- https://gist.github.com/scokmen/f813c904ef79022e84ab2409574d1b45
- https://gist.github.com/RWOverdijk/6cef816cfdf5722228e01cc05fd4b094