
Security News
Inside Lodash’s Security Reset and Maintenance Reboot
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.
split-by-header
Advanced tools
Split binary streams by length fields in messages' headers.
Use this for example to parse streaming data without writing a streaming parser if your chunks are reasonably small.
var split = require('split-by-header');
// The header is a one byte int
var splitter = split('UInt8');
splitter.on('data', console.log);
// => <Buffer 01 01>>
splitter.write(new Buffer([3, 1, 1]));
Supported types are are {8,16,32} bit (un)signed integers in BE & LE. See node api
Just leave away the read from the node core method.
(MIT)
FAQs
Split binary streams by length fields in messages' headers
The npm package split-by-header receives a total of 6 weekly downloads. As such, split-by-header popularity was classified as not popular.
We found that split-by-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.