Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.11 KB

Popsicle No Cache

NPM version NPM downloads Build status Test coverage

Prevent caching of HTTP requests.

Installation

npm install popsicle-no-cache --save

Usage

import { middleware, toFetch } from "popsicle";
import { Request } from "popsicle/dist/node";
import { noCache } from "popsicle-no-cache";

const fetch = toFetch([noCache(), middleware], Request);

License

MIT