Share your code.
abstract-chunk-store store into a readable or writable streamConvert an
Read/write data from/to a chunk store, with streams.
npm install chunk-store-stream
Create a read stream
var ChunkStoreStream =var FSChunkStore = // any chunk store will workvar chunkLength = 3var store = chunkLength// ... put some data in the storevar stream = store chunkLength length: 6stream
Create a write stream
var ChunkStoreStream =var FSChunkStore = // any chunk store will workvar fs =var chunkLength = 3var store = chunkLengthvar stream = store chunkLengthfs
MIT. Copyright (c) Feross Aboukhadijeh.