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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@qaflow/report

v1.0.0

Published

Test reporting module for QA Flow that integrates with test frameworks like Cypress, Playwright and Jest

Readme

QAFlow Report

QAFlow Report is a comprehensive reporting module for your test automation efforts. It seamlessly integrates with Playwright, Jest, and other test frameworks.

Installation

npm install @qaflow/report
# or
yarn add @qaflow/report
# or
pnpm add @qaflow/report

Quick Start

Creating a Configuration File

To use QAFlow Report, you need to create a configuration file that contains your API key. You can generate this file using the following command:

npx @qaflow/report init

This command will interactively prompt you for your API key and generate a reporter.config.js or reporter.config.ts file.

Alternatively, you can specify your API key directly:

npx @qaflow/report init --key=<apiKey>

The generated configuration file will look like this:

reporter.config.js

module.exports = {
  apiKey: 'YOUR_API_KEY_HERE',
}

reporter.config.ts

export default {
  apiKey: 'YOUR_API_KEY_HERE'
};

Basic Usage

To use the reporter in your test files:

// Import the reporter
import reporter from "@qaflow/report";

// Create a test
reporter.createTest(
  "Login Test", // Test name
  "Testing the login functionality of our application", // Description
  { author: "QA Tester", email: "[email protected]" }, // Tester info
  { name: "Chrome", version: "118.0.0", os: "macOS", browser: "Chrome" } // Environment
);

// Add test steps
await reporter.step("Navigate to the login page", () => {
  return true; // Step successful
});

await reporter.step("Enter username", () => {
  return true;
});

// End the test and retrieve results
const results = await reporter.end();
console.log(`Total steps: ${results.summary.total}`);
console.log(`Passed steps: ${results.summary.passed}`);
console.log(`Failed steps: ${results.summary.failed}`);
console.log(`Skipped steps: ${results.summary.skipped}`);

API Usage

reporter.initialize(apiKey, options)

If you are not using a configuration file, you can initialize the reporter programmatically:

reporter.initialize("your-api-key-here");

reporter.createTest(testName, description, tester, environment)

Creates a new test and registers it as the active test:

reporter.createTest(
  "Search Test",
  "Tests the search functionality on the homepage",
  { author: "QA Tester", email: "[email protected]" },
  { name: "Firefox", version: "115.0", os: "Windows" }
);

reporter.step(name, fn, options)

Adds a step to the active test and executes it:

// Successful step
await reporter.step("Navigate to homepage", () => {
  return true;
});

// Failed step
await reporter.step("Perform login", () => {
  throw new Error("Login failed");
});

// Skipped step
await reporter.step("View profile", () => {}, { skipped: true });

// Step with screenshot
await reporter.step("Verify search results", () => {
  return true;
}, { screenshot: "base64-screenshot-data" });

reporter.end()

Ends the active test and sends results to the API:

const results = await reporter.end();
console.log("Test result:", results);

Documentation

For detailed documentation, visit QAFlow Docs.

Website

Learn more about QAFlow at QAFlow Website.

📜 License

This project is licensed under the MIT License.

👤 Author