{"name":"@tapjs/stdin","version":"4.0.1","description":"a built-in tap extension for t.stdin()","tshy":{"main":true,"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"type":"module","main":"./dist/commonjs/index.js","types":"./dist/commonjs/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"scripts":{"prepare":"tshy","pretest":"npm run prepare","presnap":"npm run prepare","test":"tap","snap":"tap","format":"prettier --write . --loglevel warn --ignore-path ../../.prettierignore --cache","typedoc":"typedoc --tsconfig tsconfig/esm.json ./src/*.ts"},"author":{"name":"Isaac Z. Schlueter"},"license":"BlueOak-1.0.0","peerDependencies":{"@tapjs/core":"4.0.1"},"tap":{"typecheck":false},"keywords":["tapjs plugin"],"bugs":{"url":"https://github.com/tapjs/tapjs/issues"},"homepage":"https://github.com/tapjs/tapjs/src/stdin#readme","repository":{"type":"git","url":"git+https://github.com/tapjs/tapjs.git"},"module":"./dist/esm/index.js","engines":{"node":"20 || >=22"},"_id":"@tapjs/stdin@4.0.1","gitHead":"532287f65d814c7cb7872bf84b3d86b17d900e43","_nodeVersion":"22.10.0","_npmVersion":"11.0.0","dist":{"integrity":"sha512-25ZZgFaKkDtEPpAO1QkwWpAY1+7TXPn7JvlN4BeLNlymekFu7zSO8H+bpr/sKRKbKKrvRjdijYZrHc0J8dLkyw==","shasum":"979f0292b7b8391550fc67c2864b6159eb618eb8","tarball":"http://registry-npm.ywwl.com/@tapjs/stdin/download/@tapjs/stdin-4.0.1.tgz","fileCount":13,"unpackedSize":12263,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDOGSVBxRjjZuDuSNim2cBQVeN15Vc2bf3HcSWsiwFQ+AiByMX+9bVfpwEBWCf+CusghCbDCyObG4gC90aOSKjwLuA=="}],"size":3704,"noattachment":false,"key":"/@tapjs/stdin/-/@tapjs/stdin-4.0.1.tgz"},"_npmUser":{"name":"isaacs","email":"i@izs.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stdin_4.0.1_1740006964177_0.28887211093816156"},"_hasShrinkwrap":false,"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":1740006964366,"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"isaacs","email":"i@izs.me"}],"_cnpm_publish_time":1740006964366,"dist-tags":{"latest":"4.3.13","pre":"1.0.0"}}