{"library":"assertion-error-formatter","type":"library","category":null,"description":"Formats JavaScript Error objects into human-readable diff output (actual vs expected) for testing frameworks. Version 3.0.0 is ESM-only, released 2022-01-31, no longer supports CJS require(). Extracted from Mocha, provides customizable color functions and inline/unified diff styles. Lightweight (0 dependencies), focused on assertion error display, not assertions themselves.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install assertion-error-formatter","imports":["import { format } from 'assertion-error-formatter'","import format from 'assertion-error-formatter'","import type { ColorFns } from 'assertion-error-formatter'"]},{"cmd":"yarn add assertion-error-formatter","imports":[]},{"cmd":"pnpm add assertion-error-formatter","imports":[]}],"homepage":"https://github.com/charlierudolph/node-assertion-error-formatter","github":"https://github.com/charlierudolph/node-assertion-error-formatter","docs":null,"changelog":null,"pypi":null,"npm":"assertion-error-formatter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}