Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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

  • 20.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
966K
decreased by-39.28%
Maintainers
2
Weekly downloads
 
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 02 Jun 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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc