GitShow/sindresorhus/hook-std
sindresorhus

hook-std

Hook and modify stdout and stderr

by sindresorhus
Star on GitHubForknpm

JavaScript

56 stars12 forks9 contributorsQuiet · 9mo agoSince 2015v4.0.0MIT

Meet the team

See all 9 on GitHub →
sindresorhus
sindresorhus29 contributions
jamestalmage
jamestalmage3 contributions
acostalima
acostalima2 contributions
Codex-
Codex-1 contribution
BendingBender
BendingBender1 contribution
pvdlg
pvdlg1 contribution
Richienb
Richienb1 contribution
ruimarques
ruimarques1 contribution

Languages

View on GitHub →
JavaScript81.7%
TypeScript18.3%

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 →
sindresorhus
Gather the outputClosedIssue

Currently you can do the following if you want the output of multiple calls: Would be nicer if it did this automagically and offered the output somehow. Maybe like this? @jamestalmage @sotojuan Thoughts? What should the API look like?

sindresorhus · 9mo ago
sindresorhus
Async iterator supportClosedIssue

Could be a nice alternative to the callback.

sindresorhus · 9mo ago
medikoo
Cover output of spawned processes that inherit stdioClosedIssue

It might be nice to somehow support that, at least via option. Without that, output that hook-std captures doesn't necessary cover all output as seen from initialized process in a console. I think it's possible only via overriding and act accordingly after recognizing the intention.

medikoo · 9mo ago
Structured data for AI agents

Repository: sindresorhus/hook-std. Description: Hook and modify stdout and stderr Stars: 56, Forks: 12. Primary language: JavaScript. Languages: JavaScript (81.7%), TypeScript (18.3%). License: MIT. Latest release: v4.0.0 (9mo ago). Open PRs: 0, open issues: 0. Last activity: 9mo ago. Community health: 85%. Top contributors: sindresorhus, jamestalmage, acostalima, Codex-, BendingBender, pvdlg, Richienb, ruimarques.

·@ofershap

Replace github.com with gitshow.dev