@antelopejs/interface-api-util
v0.1.1
Published
AntelopeJS utility functions for API request validation and error handling
Downloads
1,058
Readme
Interface API Util
Utility helpers for API request validation, rate limiting, and error handling in AntelopeJS. This package provides the assert and assertValidation helpers that throw structured HTTP error responses when conditions fail or input validation does not pass, plus the @RateLimit decorator that caps how often a handler can be called.
Installation
npm install @antelopejs/interface-api-utilDocumentation
Detailed documentation is available in the docs directory:
- Introduction - Overview and basic concepts
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
