rate-limiter-flexible

v5.0.2
Node.js rate limiter by key and protection from DDoS and Brute-Force attacks in process Memory, Redis, MongoDb, Memcached, MySQL, PostgreSQL, Cluster or PM
ratelimter authorization security rate limit bruteforce throttle redis mongodb and 8 more...

dc:up

docker-compose -f docker-compose.yml up -d

dc:down

docker-compose -f docker-compose.yml down

prisma:postgres

prisma generate --schema=./test/RateLimiterPrisma/Postgres/schema.prisma && prisma db push --schema=./test/RateLimiterPrisma/Postgres/schema.prisma

test

npm run prisma:postgres && nyc --reporter=html --reporter=text mocha

debug-test

mocha --inspect-brk lib/**/**.test.js

coveralls

cat ./coverage/lcov.info | coveralls

eslint

eslint --quiet lib/**/**.js test/**/**.js

eslint-fix

eslint --fix lib/**/**.js test/**/**.js

Metadata

  • ISC
  • Whatever
  • animir
  • released 4/25/2024

Downloads

Maintainers