ratelimiter-server

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i ratelimiter-server

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.53 kB

Total Files

3

Last publish

Collaborators

  • romasamiilenko