{"_id":"@as-pect/reporter-output","name":"@as-pect/reporter-output","dist-tags":{"latest":"9.0.0"},"versions":{"9.0.0":{"name":"@as-pect/reporter-output","version":"9.0.0","description":"File output helpers for as-pect reporters","main":"lib/index.js","types":"lib/index.d.ts","type":"module","scripts":{"tsc:all":"tsc","test":"node --experimental-vm-modules ../../node_modules/jest/bin/jest.js"},"repository":{"type":"git","url":"git+https://github.com/jtenner/as-pect.git#master"},"author":{"name":"Joshua Tenner"},"license":"MIT","publishConfig":{"access":"public"},"gitHead":"fdd7f20adcc9f03d0db049bc25890bb8c32a89a6","_id":"@as-pect/reporter-output@9.0.0","bugs":{"url":"https://github.com/jtenner/as-pect/issues"},"homepage":"https://github.com/jtenner/as-pect/tree/master#readme","_nodeVersion":"26.3.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-6Pa2o9TkBOMeCOF+xSyrI2FB0O1SQkMN5c5WNhp31SmMov2crZdshawoOKI0RQSi97t+mugUqDH2wPqviVJxjg==","shasum":"32c3240bb472e1c22fa493ccb0cb5e6368ee0e4a","tarball":"https://registry.npmjs.org/@as-pect/reporter-output/-/reporter-output-9.0.0.tgz","fileCount":11,"unpackedSize":11518,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDYabbGSjz33hJFcNAVn2E5Wl3L+B1jMM4savwp2VDddgIgenfnsu9uaOd9uuKy1n311kCq7FyOMqrJNXZg2ytdDv8="}]},"_npmUser":{"name":"jtenner","email":"tenner.joshua@gmail.com"},"directories":{},"maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"},{"name":"sirwillem","email":"willem@wyndham.tech"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/reporter-output_9.0.0_1781738208839_0.913363081954683"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-17T23:16:48.645Z","9.0.0":"2026-06-17T23:16:48.964Z","modified":"2026-06-17T23:16:49.287Z"},"maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"},{"name":"sirwillem","email":"willem@wyndham.tech"}],"description":"File output helpers for as-pect reporters","homepage":"https://github.com/jtenner/as-pect/tree/master#readme","repository":{"type":"git","url":"git+https://github.com/jtenner/as-pect.git#master"},"author":{"name":"Joshua Tenner"},"bugs":{"url":"https://github.com/jtenner/as-pect/issues"},"license":"MIT","readme":"# @as-pect/reporter-output\n\nShared file-output helpers for as-pect file-backed reporters.\n\n`ReporterFileOutput` owns the common mechanics that CSV, JSON, and future file-backed reporters share:\n\n- building the output path next to the test entry by replacing its extension;\n- skipping file creation when `SuiteReport.hasResults === false`;\n- creating the Node write stream; and\n- exposing a single `flush()` promise that resolves after pending stream work finishes or rejects with stream errors.\n\nReporter packages still own their format-specific serialization. They start a file-backed report, write their format to the returned stream, and call `trackFlush()` for any additional serialization stream that must complete before `onFlush()` resolves.\n\nExample path mapping:\n\n```text\nassembly/__tests__/entry.spec.ts -> assembly/__tests__/entry.spec.json\nassembly/__tests__/entry.spec.ts -> assembly/__tests__/entry.spec.csv\n```\n\nThis package intentionally uses Node built-ins only.\n","readmeFilename":"README.md","_rev":"1-9728f0274dbe289b8df6604ad024e5ce"}