Skip to content

romasamiilenko/ratelimiter-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ratelimiter-server

An Express server with rate limiting middleware using antiabuse-ratelimiter.

Installation

You can install the package via npm:

npm install ratelimiter-server

Usage

Setting Up the Server

const app = require('ratelimiter-server');

app.listen(3000, () => {
  console.log('Server is running on port 3000');
});

Description

This package provides an Express server with rate limiting middleware using the antiabuse-ratelimiter package. It sets up an Express application with pre-configured rate limiting, logging, and security middleware.

Dependencies

  • antiabuse-ratelimiter: Rate limiting middleware to prevent abuse and ensure fair usage of resources.
  • express: Fast, unopinionated, minimalist web framework for Node.js.
  • morgan: HTTP request logger middleware for Node.js.
  • helmet: Helps secure Express apps by setting various HTTP headers.

License

This package is open source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published