stdout-stderr
- Version 0.1.13
- Published
- 6.54 kB
- 2 dependencies
- MIT license
Install
npm i stdout-stderr
yarn add stdout-stderr
pnpm add stdout-stderr
Overview
mock stdout and stderr
Index
Variables
Interfaces
interface MockStd
interface MockStd {}
property output
readonly output: string;
get what has been written to stdout/stderr
property print
print: boolean;
also print to console
false
property stripColor
stripColor: boolean;
strip color with ansi-strip
true
method start
start: () => void;
start mocking
method stop
stop: () => void;
stop mocking
Package Files (1)
Dependencies (2)
Dev Dependencies (13)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/stdout-stderr
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/stdout-stderr)
- HTML<a href="https://www.jsdocs.io/package/stdout-stderr"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2175 ms. - Missing or incorrect documentation? Open an issue for this package.