
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
range-stream
Advanced tools
Receive a byte range from a readable stream
$ npm install --save range-stream
var rangeStream = require("range-stream")
fs.createReadStream("file.txt").pipe(rangeStream(50, 100))
fs.createReadStream have start and end options?Yes. And range-stream is meant to behave the same way when consuming a stream that doesn't give you those options.
range-stream currently only works with Buffer streams. Support for object mode is planned (PR welcome :+1:).
NumberThe byte offset to begin consuming data from the source stream.
NumberThe byte offset that when hit will end the stream. If not set, the stream will run until all data is consumed.
Copyright (c) 2014 Stephen Sawchuk. Licensed under the MIT license.
FAQs
Receive a byte range from a readable stream.
We found that range-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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.