Node TAP 21.8.1

tap Stdin Plugin

@tapjs/stdin

A default tap plugin providing t.stdin().

USAGE#

This plugin is installed with tap by default. If you had previously removed it, you can tap plugin add @tapjs/stdin to bring it back.

Interface StdinOpts#

Options for t.stdin()

All of the normal Base and Extra options are also allowed.

t.stdin([name], [options]): PromiseWithStdin#

Arguments:

Processes standard input as a TAP stream.

Returns a Promise that resolves when the test is complete. The subtest member on the Promise is a Stdin instance.