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

allure-deployer

v1.5.2

Published

Host Allure test reports on the web with history, retries, and Slack integration—no server required

Downloads

282

Readme

Allure Deployer CLI

A command-line tool for deploying Allure test reports to Firebase Hosting. History, Retries, Aggregation and Slack notification. No server Required. Example report: https://gatedaccessdev.web.app

Features

  • Firebase hosting: Host your Allure reports on Firebase.
  • History and Retries: Show Allure History and Retries in reports with history linking to previous reports.
  • Report Aggregation: Aggregate report from multiple Allure result directories.
  • Slack integration: Send report URL to Slack.

Installation

npm install -g allure-deployer

Commands

deploy

Host your Allure test report on Firebase.

Syntax

allure-deployer deploy <allure-results-path> <report-name>

Example

allure-deployer deploy ./allure-results my-report-name \
  --bucket my-project-id.firebasestorage.app \
  --show-history \
  --retries 10 

Arguments

  • <allure-results-path>: Path or comma-seperated paths to the directory containing Allure results (Default: ./allure-results).
  • <report-name>: The name/title of your report (Default: Allure Report).

Options

  • -h, --show-history: Show history in the upcoming report when Storage bucket is provided.
  • -r, --retries <limit>: Number of previous test runs to show as retries in the upcoming report when Storage bucket is provided.
  • --bucket <bucket-name>: Directly provide a Firebase/GCP bucket name for History and Retries.
  • --gcp-json <json-path>: Directly provide a Firebase/GCP JSON credential file for deployment.
  • -p, --prefix <prefix>: The storage bucket path to back up Allure results and history files

generate

Prepare an Allure test report locally without deploying it to Firebase.

Syntax

allure-deployer generate <allure-results-path> <report-name>

Example

allure-deployer generate ./allure-results my-local-report --show-history --retries 5 --output ./allure-report

Arguments

  • <allure-results-path>: Path to the directory containing Allure results (Default: ./allure-results).
  • <report-name>: The name/title of your report (Default: Allure Report).

Options

  • -h, --show-history: Include history in the generated report.
  • -r, --retries <limit>: Specify the number of previous test runs to include as retries.
  • --bucket <bucket-name>: Firebase/GCP bucket name for History and Retries.
  • --gcp-json <json-path>: Firebase/GCP JSON credential file for additional configurations.
  • -p, --prefix <prefix>: Storage bucket path to back up Allure results and history files.
  • -o, --output <output-dir> A directory to generate the Allure report into (default: "allure-report")
  • -lang, --report-language Allure report language

Description

The generate command is useful for creating an Allure test report locally without deploying it to the cloud. This allows for testing, reviewing reports and hosting with other tools.

gcp-json:set

Set Firebase/GCP credentials for reuse.

Syntax

allure-deployer gcp-json:set <json-path>

Example

allure-deployer gcp-json:set ./firebase.json

bucket

Set Firebase/GCP bucket for reuse

Syntax

allure-deployer bucket:set <bucket-name>

Example

allure-deployer bucket:set my-bucket.firebasestorage.app

Workflow Example

  1. Run test and generate Allure results:

    • Integrate Allure Test Report Framework in your project
    • Run test and create ./allure-results
  2. Generate and deploy the Report:

    allure-deployer deploy path/to/allure-result --show-history --bucket gcp-bucket --gcp-json path/to/credential.json
  3. Access the Report: The CLI outputs a deployment URL. Share this with your team!

Requirements

  • Node.js: Version 14 or higher.

  • Java: Version 8 or higher

  • Firebase Credentials:

    • Create a Firebase/GCP service account.
    • Download the service-account-file.json JSON file.
  • Firebase Storage bucket:

    • Create a Firebase storage bucket when your test History and Retries are stored. You can use the default bucket.

Help

The CLI provides a set of commands to help you generate and deploy your Allure Reports. To see the list of available commands, run:

allure-deployer --help

License

This project is licensed under the BSD-3 License. See the LICENSE file for details.

Contributing

Contributions are welcome! Feel free to fork the repository, create a feature branch, and submit a pull request.