Preparing for system design interviews?  Try bugzed.com →

path-source

JSON →
library 0.1.3 ·javascript
verified Jun 7, 2026

Read files in Node.js or fetch URLs in browsers as standard WhatWG readable streams. Version 0.1.3 provides a unified API for streaming file I/O and HTTP responses. Designed for incremental data processing, it returns a ReadableStream reader with `read()` and `cancel()` methods. In Node, it wraps file streams; in browsers, it uses the Fetch API with streaming support when available, falling back to XMLHttpRequest. Lightweight and zero-dependency for the core feature, but requires `array-source` in older browsers. Part of a family of stream sources by Mike Bostock.

total hits 11
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Amazonbot
3
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · GH · 🇨🇦 Canada