Skip to content

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.

About

AntelopeJS utility functions for API request validation and error handling

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages