{"id":18743,"library":"report","title":"report","description":"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.","status":"abandoned","version":"0.1.1","language":"javascript","source_language":"en","source_url":"//github.com/dtrejo/report","tags":["javascript"],"install":[{"cmd":"npm install report","lang":"bash","label":"npm"},{"cmd":"yarn add report","lang":"bash","label":"yarn"},{"cmd":"pnpm add report","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Package is ESM-only for Node versions ~0.6.18; no TypeScript types provided.","wrong":"const report = require('report')","symbol":"report","correct":"import report from 'report'"},{"note":"Actual UMD/CommonJS export is default; named export does not exist.","wrong":"import { report } from 'report'","symbol":"default","correct":"const report = require('report')"},{"note":"main is an incorrectly named export; actual export is default.","wrong":"const main = require('report').main","symbol":"main","correct":"import { main } from 'report'"}],"quickstart":{"code":"#!/usr/bin/env node\nconst report = require('report');\nconst testResults = { passed: 10, failed: 2 };\nreport(testResults, function(err) {\n  if (err) console.error('Failed to report:', err);\n  else console.log('Test results reported');\n});","lang":"javascript","description":"Shows how to require the package as CommonJS and report test results asynchronously."},"warnings":[{"fix":"Use a modern test reporting tool like tap, mocha, or jest.","message":"Package requires Node ~0.6.18; will not install or work on modern Node versions.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use alternative test reporting services (e.g., Travis CI, GitHub Actions).","message":"npm test result listings feature is no longer supported; this package is effectively broken.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Use default import or require default: const report = require('report').default || require('report');","message":"The main export is not a function; may cause 'report is not a function' error if imported incorrectly.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"const report = require('report'); (CommonJS) or import report from 'report' (ESM).","cause":"Importing named export 'report' instead of default.","error":"report is not a function"},{"fix":"Install with npm --engine-strict=false or use a virtual environment with Node 0.6.","cause":"Package requires Node ~0.6.18; incompatible with modern npm install.","error":"Cannot find module 'report'"},{"fix":"Do not use this package; it is abandoned.","cause":"npm test result API endpoint no longer exists.","error":"Error: getaddrinfo ENOTFOUND"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}