node-streams
Installation
SKILL.md
Node.js Streams Skill
Patterns for working with Node.js streams.
Stream Types
Readable Streams
import { Readable } from 'stream'
import { createReadStream } from 'fs'
// File read stream
const fileStream = createReadStream('large-file.txt', {
encoding: 'utf8',
highWaterMark: 64 * 1024, // 64KB chunks
})