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

sf-deploy-viewer

v2.0.0

Published

πŸš€ Salesforce Deployment Viewer - Visualize deployment results with a modern UI (SOAP API + XML support)

Readme

πŸš€ sf-deploy-viewer

A modern CLI + Web UI tool to visualize Salesforce deployment results.

Supports:

  • πŸ“„ Local XML files
  • ☁️ Live Salesforce deployments via SOAP API
  • πŸ“Š Beautiful dashboard with charts, filters, and grouping

✨ Features

  • πŸ”΄ Visualize failures with error grouping
  • 🟒 Success deployments with component listing
  • 🍩 Donut charts (success vs errors)
  • πŸ” Search + filtering
  • πŸ“¦ Group by metadata type
  • πŸ“€ Export failures to CSV
  • πŸŒ— Dark / Light mode
  • ⚑ Works with Salesforce CLI (sf)

Screenshot

Deploy

πŸ“¦ Installation

npm install -g sf-deploy-viewer

πŸš€ Usage

1️⃣ View Local Deployment XML

sf-deploy-viewer -i deploy.xml

2️⃣ Fetch Live Deployment (SOAP API)

sf-deploy-viewer \
  -o [email protected] \
  --asyncProcessId 0AfAq00000gdhg3

3️⃣ Interactive Mode

sf-deploy-viewer

Prompts:

Enter Salesforce username:
Enter Async Process Id:

4️⃣ Export to CSV

Export deployment results to CSV instead of opening the web UI:

sf-deploy-viewer  -o af102 --asyncProcessId 0Afg800032fVpu  --csv /tmp/0Afg800032fVpu.csv

Output columns:

  • Type (metadata type)
  • Name (component name)
  • Status (SUCCESS or FAILED)
  • Problem (error message, if any)
  • Line (line number, if applicable)
  • Column (column number, if applicable)

πŸ”‘ Requirements

  • Node.js >= 16
  • Salesforce CLI (sf) installed and authenticated
sf org login web

πŸ“Š UI Features

Deployment Summary

  • Status
  • User
  • Start / End Time
  • Number of files
  • Total size

Visualization

  • Donut chart (success vs errors)

Failures

  • Grouped by metadata type
  • Line / Column details
  • Search + filter
  • Export to CSV

Success

  • Grouped deployed components
  • Filterable + searchable

πŸ“€ Export CSV

Download failure data:

Export CSV β†’ UI button

πŸ›  CLI Options

| Option | Description | | ------------------ | --------------------------- | | -i, --input | Input XML file | | -o, --org | Salesforce username | | --asyncProcessId | Deployment ID | | --csv | Export to CSV file | | -p, --port | Server port (default: 3000) |


πŸ§ͺ Example SOAP Request

<met:checkDeployStatus>
  <met:asyncProcessId>0AfAq00000gdhg3</met:asyncProcessId>
  <met:includeDetails>true</met:includeDetails>
</met:checkDeployStatus>

πŸ“„ License

MIT Β© Mohan Chinnappan