{"library":"espower-typescript","type":"library","category":null,"description":"espower-typescript is an instrumentation library that integrates `power-assert` with TypeScript projects, enabling rich, detailed assertion messages for test failures. It functions as a `mocha` `--require` hook, transforming TypeScript test files (`.ts`, `.tsx`) on the fly to inject power-assert's expressive assertions. The current stable version is 10.0.1. It aims to maintain compatibility with specific TypeScript versions (v2.7+ for v10.x) and Node.js environments (v10+), typically updating to align with major `ts-node` or `typescript` releases rather than a fixed cadence. Its key differentiators include a zero-config mode, automatic `tsconfig.json` detection, internal reliance on `ts-node` for compilation, and support for JSX/React and `allowJs` configurations.","language":"javascript","status":"maintenance","version":"10.0.1","tags":["javascript","power-assert","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install espower-typescript","imports":["import assert = require('assert');","mocha --require espower-typescript/guess","npm install -D @types/node","npm install -D @types/mocha"]},{"cmd":"yarn add espower-typescript","imports":[]},{"cmd":"pnpm add espower-typescript","imports":[]}],"homepage":null,"github":"https://github.com/power-assert-js/espower-typescript","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/espower-typescript","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/espower-typescript/compatibility"}}