Skip to content
Azizul Hakim edited this page Nov 1, 2024 · 4 revisions

nestjs-xsecurity

nestjs-xsecurity is a robust security middleware for NestJS applications that provides token validation, rate limiting, and path exclusion capabilities. It's designed to be easy to integrate while offering powerful security features for your APIs.

Key Features

  • Token-based Security

    • HMAC-SHA256 signature validation
    • Configurable token expiration
    • Custom header support
  • Rate Limiting

    • IP-based request throttling
    • Configurable attempt limits
    • Automatic cleanup of expired records
  • Path Control

    • Exclude specific routes
    • Support for wildcards and patterns
    • RegExp compatibility

Quick Navigation

Support

If you encounter any issues or have questions, please check our Troubleshooting guide or create an issue in our GitHub repository.


This middleware is built with ❤️ for the NestJS community.