# instore-cache

> node module to cache instore.

Latest version **1.0.0** (published 2019-12-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install instore-cache
pnpm add instore-cache
yarn add instore-cache
bun add instore-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.0.0 |
| Published | 2019-12-18 |
| First published | 2019-12-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ajaykumar prathap |
| Maintainers | pajay |
| Keywords | memory, cache, expiry, token |

## Links

- npm: https://www.npmjs.com/package/instore-cache
- Repository: git@github.com:pajaydev/instore-cache
- npm.io page: https://npm.io/package/instore-cache

## 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.0.0 (latest) — 2019-12-18

## README

# instore-cache

node module to cache instore.

- - -
### Install.
```sh
npm install instore-cache

# yarn 
yarn add instore-cache

```
### Looking to cache access token your application.

You can use `expirable-cache` which caches until the time exceeds the expiry time.

```javascript
const { expirableCache } = require('instore-cache');
expirableCache.set('SAMPLE_KEY_EXPIRY', "121241323qweerttyysdf", 10);
expirableCache.get('SAMPLE_KEY_EXPIRY');
```
### Features

  * you can specify the expiration time and provide the callback which calls after time has been expired.

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