block-read-stream

1.0.0 • Public • Published

BlockReadStream

npm npm license npm downloads

Read a file in blocks of a specified size

Install via npm

$ npm install --save block-read-stream

Usage

var BlockReadStream = require( 'block-read-stream' )
var readStream = new BlockReadStream({
  path: 'somefile.img',
  flags: 'r',
  blockSize: 256 * 1024, // 256KB
})

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i block-read-stream

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • jhermsmeier