ratelimiter-server
v1.0.0
Published
An Express server with rate limiting middleware using antiabuse-ratelimiter
Downloads
3
Maintainers
Readme
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.