# express-quicklee

> Cacheing common requests on your node server of a the fastest response

Latest version **1.0.1** (published 2018-02-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install express-quicklee
pnpm add express-quicklee
yarn add express-quicklee
bun add express-quicklee
```

## 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 | 2018-02-14 |
| First published | 2018-02-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 43.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kfir Marouani |
| Maintainers | kfir.marouani |
| Keywords | cache, caching, express, express cache, express caching |

## Links

- npm: https://www.npmjs.com/package/express-quicklee
- Repository: https://github.com/kfirm/express-quicklee
- Issues: https://github.com/kfirm/express-quicklee/issues
- npm.io page: https://npm.io/package/express-quicklee

## Dependencies (1)

- [cachelee](https://npm.io/package/cachelee.md) ^1.0.3

## Recent versions

- 1.0.1 (latest) — 2018-02-14
- 1.0.0 — 2018-02-14

## README

# express-quicklee

express-quicklee is an express middleware for caching responses especially useful for responses that are coming from an outside source.  

# Install

npm install --save express-quicklee

# Usage

```
var app = express();
var quicklee = require('express-quicklee');

app.use(quicklee());

app.get('/', function (req, res) {
    somePromiseWhichRetunsData(url).then(function(data) {
        res.send(data); // data will be cached 
    });
});

```

# Options

You can also limit the size of the cache (default is no limit), and the selected strategy (``'lru'`` or ``'lfu'`` which is the default):  

```angular2html
app.use(quicklee( { limit: 10000, strategy: 'lru' });
```

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