@fastify/rate-limit Logo

@fastify/rate-limit

0
Free
Visit Website

A low overhead rate limiter for your routes. This plugin will add an onRequest hook to check if a client (based on their IP address) has made too many requests in the given timeWindow. Usage: Register the plugin and, if required, pass some custom options. Example: ```javascript import Fastify from 'fastify' const fastify = Fastify() await fastify.register(import('@fastify/rate-limit'), { max: 100, timeWindow: '1 minute' }) fastify.get('/', (request, reply) => { reply.send({ hello: 'world' }) }) fastify.listen({ port: 3000 }, err => { if (err) throw err console.log('Server listening at http://localhost:3000') }) ```

FEATURES

ALTERNATIVES

Detect users' operating systems and perform redirection with Apache mod_rewrite.

YLS Language Server for YARA Language with comprehensive features and Python 3.8 support.

A tool that safely installs packages with npm/yarn by auditing them as part of your install process.

The Contrast Runtime Security Platform is a suite of application security tools that integrates security into the software development lifecycle and production environments, including IAST, SAST, RASP, and SCA capabilities.

Aqua Security is a CNAPP that provides comprehensive security for cloud native applications across their entire lifecycle, from development to production, in various cloud and container environments.

Argus-SAF is a static analysis framework for security vetting Android applications.

CFRipper is a Library and CLI security analyzer for AWS CloudFormation templates.

Checkmarx One SAST is a static application security testing tool that combines speed and security to improve developer experience.