binary-split alternatives and similar modules
Based on the "Streams" category.
Alternatively, view binary-split alternatives based on common mentions on social networks and blogs.
Highland.js6.7 0.0 L4 binary-split VS Highland.jsHigh-level streams library for Node.js and the browser
through25.9 0.0 L5 binary-split VS through2Tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise
readable-stream5.4 6.4 L5 binary-split VS readable-streamNode-core streams for userland
concat-stream4.4 0.0 L5 binary-split VS concat-streamwritable stream that concatenates strings or data and calls a callback with the result
byline3.4 0.0 L5 binary-split VS bylineLine-by-line Stream reader for node.js
get-stream3.2 0.0 L5 binary-split VS get-streamGet a stream as a string or buffer
multistream3.1 0.0 L5 binary-split VS multistreamA stream that emits multiple other streams one after another (streams3)
scramjet2.9 3.9 binary-split VS scramjetPublic tracker for Scramjet Cloud Platform, a platform that bring data from many environments together.
pumpify2.7 0.0 L5 binary-split VS pumpifyCombine an array of streams into a single duplex stream using pump and duplexify
duplexify2.7 0.0 L5 binary-split VS duplexifyTurn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input
into-stream2.6 1.3 L5 binary-split VS into-streamConvert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
from22.2 0.0 L5 binary-split VS from2Convenience wrapper for ReadableStream, with an API lifted from "from" and "through2"
stream-combiner21.7 0.0 L5 binary-split VS stream-combiner2Turn a pipeline into a single stream.
through2-concurrent1.6 0.0 L5 binary-split VS through2-concurrentSimple Node.JS stream (streams2) Transform that runs the transform functions concurrently (with a set max concurrency)
graphicsmagick-stream1.6 0.0 L4 binary-split VS graphicsmagick-streamFast conversion/scaling of images using a pool of long lived GraphicsMagick processes.
peek-stream1.3 0.0 L5 binary-split VS peek-streamTransform stream that lets you peek the first line before deciding how to parse it
first-chunk-stream1.1 1.3 L5 binary-split VS first-chunk-streamTransform the first chunk in a stream
pad-stream0.9 0.0 binary-split VS pad-streamPad each line in a stream
AWS Cloud-aware infrastructure-from-code toolbox [NEW]
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of binary-split or a related project?
Split streams of binary data. Similar to split but for Buffers. Whereas split is String specific, this library never converts binary data into non-binary data.
How fast is it?
On a SSD w/ a Haswell i5 1.3ghz CPU and 4GB RAM reading a 2.6GB, 5.2 million entry line delimited JSON file takes 15 seconds. Using
split for the same benchmark takes 1m23s.
const split = require('binary-split') fs.createReadStream('log.txt') .pipe(split()) .on('data', line => console.log(line))
Returns a stream.
.pipe other streams to it or
.write them yourself
.write don't forget to
The stream will emit a stream of binary objects representing the split data.
Pass in the optional
splitOn argument to specify where to split the data.
The default is your current operating systems EOL sequence (via
For more examples of usage see
binary-split is only possible due to the excellent work of the following collaborators:
- Max Ogden (@maxogden)
- Vladimir Agafonkin (@mourner)
- Martin Raifer (@tyrasd)
- Julian Gruber (@juliangruber)