Socket
Socket
Sign inDemoInstall

cache-storage-chunk-store

Package Overview
Dependencies
3
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cache-storage-chunk-store

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


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
253 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 11 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc