Socket
Book a DemoInstallSign in
Socket

localforage-chunk-store

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

localforage-chunk-store

localForage persistent browser chunk store that is abstract-chunk-store compliant

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

localForage-chunk-store CircleCI

localForage persistent browser chunk store that is abstract-chunk-store compliant

Install

npm install localforage-chunk-store

Usage

var LocalForageChunkStore = require('localforage-chunk-store')
var chunks = new LocalForageChunkStore(chunkLength, [opts])

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. Copyright (c) Yoann Ciabaud.

Keywords

abstract-chunk-store

FAQs

Package last updated on 06 Apr 2017

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