# memory-chunk-store

> In memory chunk store that is abstract-chunk-store compliant

Latest version **1.3.5** (published 2021-05-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install memory-chunk-store
pnpm add memory-chunk-store
yarn add memory-chunk-store
bun add memory-chunk-store
```

## 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.3.5 |
| Published | 2021-05-19 |
| First published | 2015-08-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 22 |
| Author | Mathias Buus |
| Maintainers | mafintosh, feross, noffle, jhiesey |
| Keywords | abstract-chunk-store, chunk, in memory, in-memory, memory, store |

## Links

- npm: https://www.npmjs.com/package/memory-chunk-store
- Repository: https://github.com/mafintosh/memory-chunk-store
- Issues: https://github.com/mafintosh/memory-chunk-store/issues
- npm.io page: https://npm.io/package/memory-chunk-store

## Dependencies (1)

- [queue-microtask](https://npm.io/package/queue-microtask.md) ^1.2.3

## Recent versions

- 1.3.5 (latest) — 2021-05-19
- 1.3.4 — 2021-05-19
- 1.3.3 — 2021-05-19
- 1.3.2 — 2021-02-09
- 1.3.1 — 2021-02-09
- 1.3.0 — 2017-07-15
- 1.2.0 — 2015-08-22
- 1.1.2 — 2015-08-20
- 1.1.1 — 2015-08-13
- 1.1.0 — 2015-08-13
- 1.0.2 — 2015-08-13
- 1.0.1 — 2015-08-13
- 1.0.0 — 2015-08-13

## README

# memory-chunk-store [![build status](http://img.shields.io/travis/mafintosh/memory-chunk-store.svg)](http://travis-ci.org/mafintosh/memory-chunk-store)

#### In memory chunk store that is [abstract-chunk-store](https://github.com/mafintosh/abstract-chunk-store) compliant

[![abstract chunk store](https://cdn.rawgit.com/mafintosh/abstract-chunk-store/master/badge.svg)](https://github.com/mafintosh/abstract-chunk-store)

## Install

```
npm install memory-chunk-store
```

## Usage

``` js
var mem = require('memory-chunk-store')
var chunks = mem(10)

chunks.put(0, new Buffer('01234567890'), function (err) {
  if (err) throw err
  chunks.get(0, function (err, chunk) {
    if (err) throw err
    console.log(chunk) // '01234567890' as a buffer
  })
})
```

## License

MIT

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