# cached-fetch

> lib for ajax (new fetch api compliant) that automatically cache each query result

Latest version **1.0.1** (published 2016-07-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install cached-fetch
pnpm add cached-fetch
yarn add cached-fetch
bun add cached-fetch
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-07-02 |
| First published | 2016-07-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Mathias Desloges |
| Maintainers | freakdev |

## Links

- npm: https://www.npmjs.com/package/cached-fetch
- Repository: git@github.com:FreakDev/cached-fetch
- Homepage: https://github.com/FreakDev/cached-fetch
- Issues: https://github.com/FreakDev/cached-fetch/issues
- npm.io page: https://npm.io/package/cached-fetch

## Dependencies (3)

- [store](https://npm.io/package/store.md) ^1.3.20
- [jquery](https://npm.io/package/jquery.md) ^3.0.0
- [isomorphic-fetch](https://npm.io/package/isomorphic-fetch.md) ^2.2.1

## Recent versions

- 1.0.1 (latest) — 2016-07-02
- 1.0.0 — 2016-07-02

## README

# cFetch

## Cached Fetch

mini lib to automatically perform an ajax fetch and store its result into a cache

usage :

    <script src="../dist/index.js"></script>
    <script>
        cfetch.fecth("data.json", { checkNetwork: false /* default value : true */ });

        /// node 
        /// var cfetch = require('cfetch')
        /// cfecth.fetch("http://...", { /* options */ })
    </script>

---
_Source: https://npm.io/package/cached-fetch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
