
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
block-stream
Advanced tools
A stream of blocks.
Write data into it, and it'll output data in buffer blocks the size you specify, padding with zeroes if necessary.
var block = new BlockStream(512)
fs.createReadStream("some-file").pipe(block)
block.pipe(fs.createWriteStream("block-file"))
When .end() or .flush() is called, it'll pad the block with zeroes.
The stream-splitter package provides similar functionality by allowing you to split a stream into chunks based on a delimiter or a fixed size. Unlike block-stream, which focuses on fixed-size blocks, stream-splitter can also split based on delimiters, making it more versatile for text-based data.
The through2 package is a more general-purpose stream utility that allows you to transform data as it passes through the stream. While it doesn't specifically focus on block sizes, it can be used to implement similar functionality by manually managing the data chunks, offering more flexibility in stream processing.
FAQs
a stream of blocks
We found that block-stream 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.