GitShow/sindresorhus/is-stream
sindresorhus

is-stream

Check if something is a Node.js stream

by sindresorhus
Star on GitHubForknpm

JavaScript

116 stars22 forks6 contributorsQuiet · 1y agoSince 2015v4.0.1MIT

Meet the team

See all 6 on GitHub →
sindresorhus
sindresorhus25 contributions
ehmicky
ehmicky4 contributions
coreyfarrell
coreyfarrell1 contribution
BendingBender
BendingBender1 contribution
kevva
kevva1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript88.9%
TypeScript11.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
ehmicky
Test on Node 23MergedPR

This runs CI tests on the latest Node.js version.

ehmicky · 1y ago
ehmicky
Run CI on Node 22MergedPR

This run the CI on Node 22

ehmicky · 2y ago
ehmicky
Add `checkOpen` optionMergedPR

Fixes #7. The methods in this package check two different things: 1. Whether the argument has the correct stream type 2. Whether the stream is writable/readable, i.e. whether it has been closed There are times when one would want to check only but not . For example: The user might not need the stream to be open since many stream core methods (, , etc.) work fine with closed streams. The user might want to provide with a different error message for and This PR adds a boolean option to toggle off that specific check. By default, it is for and for the others to keep backward compatibility. I.e. this is not a breaking change.

ehmicky · 2y ago
Structured data for AI agents

Repository: sindresorhus/is-stream. Description: Check if something is a Node.js stream Stars: 116, Forks: 22. Primary language: JavaScript. Languages: JavaScript (88.9%), TypeScript (11.1%). License: MIT. Latest release: v4.0.1 (2y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 85%. Top contributors: sindresorhus, ehmicky, coreyfarrell, BendingBender, kevva, Richienb.

·@ofershap

Replace github.com with gitshow.dev