abstract-chunk-store compliantFilesystem (fs) chunk store that is
npm install fs-chunk-store
Back the store with a single file
var FSChunkStore =var chunks = 10path: '/tmp/my_file' // optional: path to file (default: temp file will be used)length: 100 // optional: file length in bytes (default: file expands based on `put`s)
Back the store with multiple files
var FSChunkStore =var chunks = 10files:path: 'folder/file1.txt' length: 12path: 'folder/file2.txt' length: 8path: 'folder/file3.txt' length: 30
put, get, close, destroy
MIT. Copyright (c) Feross Aboukhadijeh.