2.0.0 • Published 5 years ago

popsicle-limit v2.0.0

Weekly downloads
11
License
MIT
Repository
github
Last release
5 years ago

Popsicle Limit

NPM version NPM downloads Build status Test coverage

Transparently handle API rate limiting with Popsicle.

Installation

npm install popsicle-limit --save

Usage

import { middleware, toFetch } from "popsicle";
import { Request } from "popsicle/dist/node";
import { limit, HOUR } from "popsicle-limit";

const fetch = toFetch([limit(5000, HOUR), middleware], Request);

License

MIT

2.0.0

5 years ago

1.0.0

8 years ago

0.0.1

9 years ago