Socket
Socket
Sign inDemoInstall

@cucumber/html-formatter

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/html-formatter

HTML formatter for Cucumber


Version published
Maintainers
2
Created

What is @cucumber/html-formatter?

@cucumber/html-formatter is an npm package that provides a way to generate HTML reports from Cucumber JSON output. It is useful for visualizing the results of Cucumber tests in a more readable and user-friendly format.

What are @cucumber/html-formatter's main functionalities?

Generate HTML Report

This feature allows you to generate an HTML report from a Cucumber JSON report. You need to specify the input JSON file and the output HTML file. The `generate` function processes the JSON and creates a formatted HTML report.

const { generate } = require('@cucumber/html-formatter');

const options = {
  input: 'path/to/cucumber-report.json',
  output: 'path/to/output.html'
};

generate(options).then(() => {
  console.log('HTML report generated successfully!');
}).catch(err => {
  console.error('Error generating HTML report:', err);
});

Other packages similar to @cucumber/html-formatter

FAQs

Package last updated on 21 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc