better-endpoints
MITA TypeScript library to simplify API response handling and manage custom HTTP errors. It provides an `ApiResponse` decorator to format success and error responses consistently, along with specific error classes for each HTTP status code.
95
Security score
0 known advisories in v1.4.0
Weekly downloads
—
Unpacked size
70.9 kB
Dependencies
2
Last publish
1 year ago
Security advisories
No known vulnerabilities affect v1.4.0.