Registry / testing / report

report

JSON →
library0.0.1jsnpmunverified

A Node.js CLI tool for reporting test results to npm's test result listings. Version 0.1.1 is the current and only stable release. It was designed to integrate with npm's test result endpoints to publish test outcomes for packages. No longer actively maintained; superseded by modern CI and reporting tools like tap, mocha, and jest. Key differentiator was its early attempt to unify test reporting within npm ecosystem, but it never gained adoption.

npm install report
INSTALL
IMPORT
SIG · REPORT
R
report
testingjavascriptv0.0.1
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

report
✓ import report from 'report'
✗ const report = require('report')
Package is ESM-only for Node versions ~0.6.18; no TypeScript types provided.
default
✓ const report = require('report')
✗ import { report } from 'report'
Actual UMD/CommonJS export is default; named export does not exist.
main
✓ import { main } from 'report'
✗ const main = require('report').main
main is an incorrectly named export; actual export is default.

Shows how to require the package as CommonJS and report test results asynchronously.

#!/usr/bin/env node const report = require('report'); const testResults = { passed: 10, failed: 2 }; report(testResults, function(err) { if (err) console.error('Failed to report:', err); else console.log('Test results reported'); });
Debug
Known issues
gotchaPackage requires Node ~0.6.18; will not install or work on modern Node versions.
fix
Use a modern test reporting tool like tap, mocha, or jest.
affects: >=0.1.0
deprecatednpm test result listings feature is no longer supported; this package is effectively broken.
fix
Use alternative test reporting services (e.g., Travis CI, GitHub Actions).
affects: >=0.1.0
gotchaThe main export is not a function; may cause 'report is not a function' error if imported incorrectly.
fix
Use default import or require default: const report = require('report').default || require('report');
affects: >=0.1.0
Errors
Common errors & fixes
report is not a function
Importing named export 'report' instead of default.
fix
const report = require('report'); (CommonJS) or import report from 'report' (ESM).
Cannot find module 'report'
Package requires Node ~0.6.18; incompatible with modern npm install.
fix
Install with npm --engine-strict=false or use a virtual environment with Node 0.6.
Error: getaddrinfo ENOTFOUND
npm test result API endpoint no longer exists.
fix
Do not use this package; it is abandoned.
Upgrade
Version history
0.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Anthropic
1
Resources
report — npm install report · libregistry