fs-range-reader
Javascript file utility to read particular range of file.
Installation
npm i file-range-reader
API
var reader = ;
readRange(fileName, range, callback)
Reads a particular range of file where fileName is the name of file, range is the range passed to read. Error will be thrown in following cases
- File doesn't exist.
- Range specified in invalid
- Range specified is malformed
sample usage
reader;
using in a web framework
reader;