Cross-platform HTML formatter for all Cucumber implementations (JVM, JS, etc.). Current stable version is 0.2.4, with low release cadence (last release in 2016). Generates HTML5-compliant reports, replaces old PDF formatter. Supports wkhtmltopdf for PDF conversion. Minimalistic with no dependencies.
npm install cucumber-htmlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Generates an HTML report from Cucumber JSON output and writes to a file.
Use '@cucumber/cucumber' with '--format html' or switch to 'cucumber-html-reporter'.
Use a modern browser or wkhtmltopdf for PDF.
Ensure JSON is produced by a supported Cucumber implementation.
Use `import formatter from 'cucumber-html'` (no curly braces).
Run `npm install cucumber-html`.
Ensure the JSON object has a 'name' property and 'elements' array with valid scenarios.
No dependency data recorded yet.