# download-cache

> Cache remote files locally by URL

Latest version **1.1.1** (published 2015-06-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install download-cache
pnpm add download-cache
yarn add download-cache
bun add download-cache
```

## 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.1.1 |
| Published | 2015-06-05 |
| First published | 2015-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jonathan Ong |
| Maintainers | jongleberry |
| Keywords | download, cache |

## Links

- npm: https://www.npmjs.com/package/download-cache
- Repository: https://github.com/fs-utils/download-cache
- Homepage: https://github.com/fs-utils/download-cache#readme
- Issues: https://github.com/fs-utils/download-cache/issues
- npm.io page: https://npm.io/package/download-cache

## Dependencies (7)

- [debug](https://npm.io/package/debug.md) ^2.1.1
- [validator](https://npm.io/package/validator.md) ^3.28.0
- [http-assert](https://npm.io/package/http-assert.md) ^1.1.0
- [http-errors](https://npm.io/package/http-errors.md) ^1.2.8
- [requisition](https://npm.io/package/requisition.md) ^1.5.0
- [fs-lru-cache](https://npm.io/package/fs-lru-cache.md) ^2.1.2
- [native-or-bluebird](https://npm.io/package/native-or-bluebird.md) ^1.1.2

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2015-06-05
- 1.1.0 — 2015-01-30
- 1.0.1 — 2015-01-29
- 1.0.0 — 2015-01-29

## README

# download-cache

[![NPM version][npm-image]][npm-url]
[![Build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Dependency Status][david-image]][david-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

```js
var download = require('download-cache');

download('https://archive.org/download/Windows7WildlifeSampleVideo/Wildlife_512kb.mp4').then(function (filename) {
  fs.stat(filename);
});
```

[gitter-image]: https://badges.gitter.im/fs-utils/download-cache.png
[gitter-url]: https://gitter.im/fs-utils/download-cache
[npm-image]: https://img.shields.io/npm/v/download-cache.svg?style=flat-square
[npm-url]: https://npmjs.org/package/download-cache
[github-tag]: http://img.shields.io/github/tag/fs-utils/download-cache.svg?style=flat-square
[github-url]: https://github.com/fs-utils/download-cache/tags
[travis-image]: https://img.shields.io/travis/fs-utils/download-cache.svg?style=flat-square
[travis-url]: https://travis-ci.org/fs-utils/download-cache
[coveralls-image]: https://img.shields.io/coveralls/fs-utils/download-cache.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/fs-utils/download-cache
[david-image]: http://img.shields.io/david/fs-utils/download-cache.svg?style=flat-square
[david-url]: https://david-dm.org/fs-utils/download-cache
[license-image]: http://img.shields.io/npm/l/download-cache.svg?style=flat-square
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/download-cache.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/download-cache

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