Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tapjs/stdin

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tapjs/stdin

a built-in tap extension for t.stdin()

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
118K
decreased by-5.33%
Maintainers
2
Weekly downloads
 
Created
Source

@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.

  • tapStream - a Minipass<Buffer|string> stream or Node.js ReadableStream. If provided, this will be the source of TAP data. Defaults to process.stdin.

t.stdin([name], [options]): PromiseWithSpawn

Arguments:

  • name (optional) string - Name for the subtest, defaults to /dev/stdin
  • options (optional) StdinOpts object

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.

Keywords

FAQs

Package last updated on 08 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc