{"name":"@tapjs/stdin","version":"4.2.0","keywords":["tapjs plugin"],"author":{"name":"Isaac Z. Schlueter"},"license":"BlueOak-1.0.0","_id":"@tapjs/stdin@4.2.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"isaacs","email":"i@izs.me"}],"homepage":"https://github.com/tapjs/tapjs/src/stdin#readme","bugs":{"url":"https://github.com/tapjs/tapjs/issues"},"tap":{"typecheck":false},"dist":{"shasum":"3ba1c977c42bf9252be65bbeb2e87710601352b3","tarball":"http://registry-npm.ywwl.com/@tapjs/stdin/download/@tapjs/stdin-4.2.0.tgz","fileCount":13,"integrity":"sha512-1z1y3Yupeb/kmZ6QSch/8Db1mDK4s2GpzZiY2mRvNSnLi4XFi7HED4y3m1oLZHyGEw979AoCF+0HZoraSexrpg==","signatures":[{"sig":"MEUCIQCcYWO1YV/gYE9uVv5eSfp5lctbbTBuZapK0SG6PCr9vAIgXjjfC1tIRSjKg7mvw3NlQ7JChnR5kanGS/LfrDHPVbc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12251,"size":3694,"noattachment":false,"key":"/@tapjs/stdin/-/@tapjs/stdin-4.2.0.tgz"},"main":"./dist/commonjs/index.js","tshy":{"main":true,"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":"20 || >=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"2199ab24bdf778a6a8a9ae1341ebb47ef7fda64a","scripts":{"snap":"tap","test":"tap","format":"prettier --write . --log-level warn --ignore-path ../../.prettierignore --cache","prepare":"tshy","presnap":"npm run prepare","pretest":"npm run prepare","typedoc":"typedoc --tsconfig tsconfig/esm.json ./src/*.ts"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"repository":{"url":"git+ssh://git@github.com/tapjs/tapjs.git","path":"src/stdin","type":"git"},"_npmVersion":"11.6.3","description":"a built-in tap extension for t.stdin()","directories":{},"_nodeVersion":"24.4.1","_hasShrinkwrap":false,"peerDependencies":{"@tapjs/core":"4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/stdin_4.2.0_1764109713984_0.38914515397891125","host":"s3://npm-registry-packages-npm-production"},"readme":"# `@tapjs/stdin`\n\nA default tap plugin providing `t.stdin()`.\n\n## USAGE\n\nThis plugin is installed with tap by default. If you had\npreviously removed it, you can `tap plugin add @tapjs/stdin` to\nbring it back.\n\n### Interface `StdinOpts`\n\nOptions for `t.stdin()`\n\nAll of the normal Base and Extra options are also allowed.\n\n- `tapStream` - a\n  [`Minipass<Buffer|string>`](https://isaacs.github.io/minipass/)\n  stream or Node.js `ReadableStream`. If provided, this will be\n  the source of TAP data. Defaults to `process.stdin`.\n\n### `t.stdin([name], [options]): PromiseWithSpawn`\n\nArguments:\n\n- `name` (optional) `string` - Name for the subtest, defaults to\n  `/dev/stdin`\n- `options` (optional) `StdinOpts` object\n\nProcesses standard input as a TAP stream.\n\nReturns a Promise that resolves when the test is complete. The\n`subtest` member on the Promise is a\n[`Stdin`](https://tapjs.github.io/tapjs/classes/_tapjs_core.stdin.Stdin.html)\ninstance.\n","publish_time":1764109714174,"_cnpm_publish_time":1764109714174,"dist-tags":{"latest":"4.3.13","pre":"1.0.0"}}