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.
npm install @antelopejs/interface-api-utilDetailed documentation is available in the docs directory:
- Introduction - Overview and basic concepts
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.