bufferize

1.0.0 • Public • Published

node-bufferize

Example

var bufferize = require("bufferize");
var es = require("event-stream");
var fs = require("fs");

fs.createReadStream("dictionary.txt", { encoding: 'utf8' })
  .pipe(es.split())
  // A stream event per word in the dictionary
  .pipe(bufferize(512))
  // A stream event per 512 word in the dictionary (array of words)
  .pipe(...)
  ...

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 bufferize

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • gre