Registry / testing / mic-tap-format

mic-tap-format

JSON →
library1.0.3jsnpmunverified

A TAP (Test Anything Protocol) formatter that combines styling from tap-format and Jest. Version 1.0.3 is the latest stable release with no update cadence. It provides colorful, human-readable output for TAP test results. Differentiators include a mix of existing formatter styles and custom tweaks, but no active maintenance or community.

npm install mic-tap-format
INSTALL
IMPORT
SIG · MIC-TAP-FORMAT
M
mic-tap-format
testingjavascriptv1.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

mic-tap-format
const formatter = require('mic-tap-format');
import formatter from 'mic-tap-format';
Package does not support ESM; use require() only.

Shows basic usage of the formatter with a TAP string and colors enabled.

const format = require('mic-tap-format'); const tap = 'TAP version 13\n1..2\nok 1 - passing test\nnot ok 2 - failing test\n# test 2 failed'; const output = format(tap, { colors: true }); console.log(output);
Debug
Known issues
deprecatedPackage is not actively maintained; use tap-mocha-reporter or tap-parser instead.
fix
Consider migrating to tap-mocha-reporter or tap-parser.
affects: all
gotchaNo ESM support; require() only.
fix
Use CommonJS require() and avoid import statements.
affects: all
Errors
Common errors & fixes
Cannot find module 'mic-tap-format'
Package not installed or not found in node_modules.
fix
Run `npm install mic-tap-format` in your project directory.
formatter is not a function
Incorrect import or usage (e.g., using default export as an object).
fix
Use const format = require('mic-tap-format'); then call format(tapString, options).
Upgrade
Version history
1.0.3latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mic-tap-format — npm install mic-tap-format · libregistry