A rate-limited HTTP request library for Node.js built on top of request-promise. Version 0.1.2 is the only release, with no updates since. It provides per-domain request throttling with configurable max requests per time window. Unlike generic rate-limiters, it integrates directly with request-promise and manages request queues automatically. The library is lightweight but depends on the deprecated request package. Not recommended for new projects due to reliance on deprecated dependencies and lack of maintenance.
npm install limit-request-promiseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a rate-limited request instance, configures per-domain limits, and sends a request.
Use modern alternatives like 'got', 'axios', or 'node-fetch' with a rate-limiting wrapper.
Use 'new LimitRequestPromise(2, 1)' for 2 concurrent requests with 1-second delay.
Call 'lp.setup([{ host: 'http://example.com', max: 1000, sec: 60 }])'.Use 'const LimitRequestPromise = require('limit-request-promise')'.Run 'npm install request-promise'.
Ensure you create an instance: 'const lp = new LimitRequestPromise(1,1); lp.setup([...])'.