# chrash

> Chronically updated key-value hash

Latest version **0.0.1** (published 2014-08-26) · BSD license · 0 weekly downloads

## Install

```sh
npm install chrash
pnpm add chrash
yarn add chrash
bun add chrash
```

## 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.0.1 |
| Published | 2014-08-26 |
| First published | 2014-08-26 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andy Lin |
| Maintainers | miloconway |
| Keywords | cache, polling |

## Links

- npm: https://www.npmjs.com/package/chrash
- Repository: https://github.com/sneekers/node-chrash
- Issues: https://github.com/sneekers/node-chrash/issues
- npm.io page: https://npm.io/package/chrash

## 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

- 0.0.1 (latest) — 2014-08-26

## README

node-chrash
===========

Chronically-updated Hash

## Usage
```javascript
var Chrash = require('chrash');
var initOptions = {
  polling: 15000, // intervals between updates, in ms
  update: function (existingCache, afterUpdate) {
    var newCache.val = existingCache.val;
    var err = null;

    afterUpdate(err, newCache);
  }
};
var initCallback = function (err, chrashInstance) {
  console.log(chrashInstance.get('val'));
};

Chrash.init(initOptions, initCallback);
```

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