Socket
Socket
Sign inDemoInstall

memory-chunk-store

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memory-chunk-store

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


Version published
Weekly downloads
2.8K
decreased by-21.68%
Maintainers
4
Weekly downloads
 
Created
Source

memory-chunk-store build status

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

abstract chunk store

Install

npm install memory-chunk-store

Usage

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

Keywords

FAQs

Package last updated on 19 May 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc