# @mconnect/cache

> Cache data operations

Latest version **0.2.0** (published 2019-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mconnect/cache
pnpm add @mconnect/cache
yarn add @mconnect/cache
bun add @mconnect/cache
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2019-06-09 |
| First published | 2019-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Abi Akindele [abbeymart \| mconnect.biz] |
| Maintainers | abbeymart |
| Keywords | cache, cache hash, store, save, read, query |

## Links

- npm: https://www.npmjs.com/package/@mconnect/cache
- Repository: https://github.com/abbeymart/cache
- Homepage: https://github.com/abbeymart/cache#readme
- Issues: https://github.com/abbeymart/cache/issues
- npm.io page: https://npm.io/package/@mconnect/cache

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2019-06-09
- 0.1.2 — 2019-06-04
- 0.1.1 — 2019-05-31

## README

# @mconnect/cache

- Cache data operations - in memory (simple and hash cache)

## Installation

```sh
$ npm install @mconnect/cache
```

## API - Simple Cache

- Simple cache is key-value caching for any types of values (number, string and object)
- It exposes the following functions: setCache(), getCache, deleteCache and clearCache
- Simple cache API signatures:

```js
// Coming soon

const abc = 'test';
console.log('abc: ', abc);

```

## Examples - Simple Cache

```js
// Coming soon
// 
const abc = 'test';
console.log('abc: ', abc);

```

## API - Hash Cache

```js
// Coming soon

const abc = 'test';
console.log('abc: ', abc);

```

## Examples - Hash Cache

```js
// Coming soon
// 
const abc = 'test';
console.log('abc: ', abc);

```

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