cache-storage-chunk-store

1.1.1 • Public • Published

cache-storage-chunk-store

npm downloads dependencies license

Browser CacheStorage chunk store that is abstract-chunk-store compliant

abstract chunk store

Install

npm install cache-storage-chunk-store

or include it directly:

<script src="https://cdn.jsdelivr.net/npm/cache-storage-chunk-store@1.x/dist/cache-storage-chunk-store.min.js"></script>

Usage

const CacheStorageChunkStore = require('cache-storage-chunk-store')

const chunks = new CacheStorageChunkStore(10)

chunks.put(0, buffer, (err) => console.error(err))

chunks.get(0, (err, buf) => console.log(err, buf))

License

MIT

/cache-storage-chunk-store/

    Package Sidebar

    Install

    npm i cache-storage-chunk-store

    Weekly Downloads

    1

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    151 kB

    Total Files

    7

    Last publish

    Collaborators

    • mathiasvr