Ross ROSS = Recommend OSS · open-source software intelligence for agents

power-assert-js/power-assert

Power Assert in JavaScript. Provides descriptive assertion messages through standard assert interface. No API is the best API. observed · 2026-08-28

github.com/power-assert-js/power-assert · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4760
  • days_rel: n/a
  • days_push: 1334
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2807 stars · 49 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Power Assert is a JavaScript assertion library that provides descriptive assertion failure messages through the standard Node.js assert interface, requiring only a simple `assert(any_expression)` call. It works by transforming test code at build time (via Babel plugins, browserify transforms, webpack loaders, or CLI tools) to instrument expressions and show intermediate values in failure output.

Use cases

  • show descriptive assertion failure messages in JavaScript tests
  • avoid memorizing many assertion library APIs
  • debug failing test expressions with intermediate values
  • enhance standard Node.js assert with power-assert output
  • use power-assert in browser-side tests
  • integrate power-assert with Babel, webpack, browserify, grunt, or gulp

When to choose

  • you want rich assertion failure messages without learning a new assertion API
  • you prefer writing plain expressions with standard assert over specialized assertion methods
  • you want a drop-in enhancement for Node.js assert that is easy to remove later
  • you need assertion output in both server-side and browser-side tests

When to avoid

  • you cannot or do not want to add a code transpilation step to your test pipeline
  • you need a modern, actively developed assertion library with frequent updates
  • you prefer assertion libraries with many built-in matchers like Chai or Jest expect
  • you work outside the JavaScript/Node.js ecosystem

Facets

library · maturity maintenance

testing developer-tools testing developer-tools browser cross-platform assertion-library power-assert test-assertions descriptive-assertion-messages code-transformation babel-plugin javascript-testing javascript nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
power-assert-js/power-assertmain32

For agents

markdown · JSON · MCP: product_card(name="power-assert-js/power-assert")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem