npm.io
0.1.1 • Published 6d ago

@antelopejs/interface-api-util

Licence
Apache-2.0
Version
0.1.1
Deps
0
Size
59 kB
Vulns
0
Weekly
433

Interface API Util

npm License Discord Documentation

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-util

Documentation

Detailed documentation is available in the docs directory:

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Keywords