# tapjs/tapjs

Test Anything Protocol tools for node

Repository: https://github.com/tapjs/tapjs
Canonical: https://ross.abutalabs.com/products/tapjs
Homepage: https://node-tap.org/
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: assert, bdd, code-coverage, commonjs, esm, framework, node, tap, tdd, test, testanythingprotocol, testing, typescript
Last push: 2026-07-27T18:51:00+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 95, longevity 100
- inputs: {"age_days": 5644, "days_push": 37, "days_rel": 37, "gap_med": 10.5, "n_releases_24m": 17}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2425, forks 282 (observed 2026-08-28T04:06:50.732380+00:00)

## What it is
Node-tap is a Test-Anything-Protocol (TAP) test framework for JavaScript and TypeScript, providing a test runner CLI, assertion library, snapshot testing, mocking, and code coverage. It is built as a plugin-based monorepo whose components (parser, runner, core, plugins) can also be used independently.

## Use cases
- run javascript tests with a tap test runner
- write typescript tests with built-in typecheck support
- measure code coverage for node projects
- snapshot testing for node applications
- mock modules in node tests
- parse TAP output in a node program

## When to choose
- you want a batteries-included node test framework with coverage, snapshots, and mocking out of the box
- you prefer TAP output or need interoperability with TAP tooling
- you want tests that run as plain node programs with strong TypeScript support

## When to avoid
- you need a framework with a huge ecosystem of third-party integrations like jest or vitest
- you want browser or frontend component testing
- you dislike opinionated framework design and prefer minimal tools like node:test

## Facets
- artifact type: framework
- maturity: active
- function: testing, e2e-testing, mocking, cli, parser
- domain: testing, developer-tools, backend
- platform: cli, cross-platform
- tags: tap, test-anything-protocol, code-coverage, snapshot-testing, typescript, test-runner, assertions, esm, commonjs, plugins, javascript, nodejs

## Member repositories
- tapjs/tapjs (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.732380+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:31:50.319918+00:00, confidence not recorded.
  - readme: https://github.com/tapjs/tapjs (fetched 2026-08-28T04:06:50.732380+00:00, sha 141767f73da5)
  - homepage: https://node-tap.org/ (fetched 2026-08-29T10:13:30.733528+00:00, sha d4e186ae3e28)
  - site_page: https://node-tap.org/basics (fetched 2026-08-29T10:13:30.741035+00:00, sha e487ecd78c98)
  - site_page: https://node-tap.org/changelog (fetched 2026-08-29T10:13:30.743040+00:00, sha 8c5943996940)
- Data as of 2026-08-30T08:39:29.467469+00:00.
