npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

cucumber_reporter_sync

v1.0.20

Published

`cucumber_reporter_sync` is an npm library designed to merge multiple Cucumber JSON reports and optionally post the results to a Slack channel. It helps streamline the process of aggregating Cucumber test results and sharing them in a team communication p

Readme

Cucumber Reporter Sync

cucumber_reporter_sync is an npm library designed to merge multiple Cucumber JSON reports and optionally post the results to a Slack channel. It helps streamline the process of aggregating Cucumber test results and sharing them in a team communication platform like Slack.

Features

  • Merge multiple Cucumber JSON reports into a single report.
  • Recursively search for reports in subdirectories.
  • Generate a merged report in a specified output file.
  • Optionally post the merged report to a Slack channel using a Slack webhook.

Installation

To install the cucumber_reporter_sync package, run the following command:

npm install cucumber_reporter_sync --save-dev

Usage

Merging and posting test report to Slack

You can also configure the library to post the merged report to a Slack channel. To do this, add the --slack option with your Slack Incoming Webhook URL:

npx cucumber_reporter_sync merge --recursive --dir reports --slack https://hooks.slack.com/{YOUR WEBHOOK URL}

Parameters:

  • --recursive (optional) Recursively search for report files in subdirectories.

  • --dir (required) The directory where the Cucumber JSON reports are located. You can specify the root directory and the program will find all relevant files.

  • -o (required) The file path where the merged report should be saved. It will save the merged JSON to the specified file.

  • --slack (optional) The Slack webhook URL where the merged report will be posted. You'll need to create an Incoming Webhook in your Slack workspace to get this URL.

Example:

npx cucumber_reporter_sync merge --dir ./reports -o ./reports/merged-report.json --slack https://hooks.slack.com/services/XXX/YYY/ZZZ

Change The Username and Environment

In order to change the username and environment, you can use set the following environment variables:

Username

export TEST_USERNAME={YOUR USERNAME}

Example:

export TEST_USERNAME=siddharth23

Environment

export TEST_ENV={YOUR ENVIRONMENT}

Example:

export TEST_ENV=staging

Slack Formatting

The merged Cucumber report will be posted to Slack with key information, such as: Total number of tests Passed and failed tests scenarios side by side view

Sample Slack Report

Collaborators

This project is currently maintained by:

Feel free to contribute if you'd like to help improve this project!