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-reports-dashboards-explorer

v1.0.3

Published

Salesforce Report and Dashboard Explorer CLI

Readme

Salesforce Report & Dashboard Explorer

A modern CLI tool with a web interface to explore and analyze Salesforce Reports and Dashboards with metadata viewing capabilities.

Features

  • 🎨 Dark Theme UI - Beautiful dark-themed interface using Tailwind CSS
  • 📊 Reports Explorer - Browse and view all reports in your org
  • 📈 Dashboards Explorer - Browse and view all dashboards in your org
  • 🔍 Search & Filter - Quickly find reports and dashboards
  • 📝 Monaco Editor - View metadata in a professional code editor
  • 📥 Download JSON - Export metadata as JSON files
  • ↔️ Resizable Panes - Adjustable split view with draggable splitter
  • 🚀 Fast & Responsive - Built with Express.js and modern JavaScript

Prerequisites

  • Node.js 18+ installed
  • Salesforce CLI (sf) installed and configured
  • Authenticated Salesforce org

Screenshots

SRDE SRDE Dashboard

Installation

npm install -g sf-reports-dashboards-explorer

Usage

srde start -o [email protected] -p 8080

Command Options

srde start [options]

Options:
  -o, --org <username>   Salesforce org username or alias (default: "username")
  -p, --port <port>      Port number (default: "3000")
  -h, --help             Display help for command

Features Overview

Left Pane - Items List

  • Tabs: Switch between Reports and Dashboards
  • Search: Filter items by name, developer name, or folder
  • List View: Shows item name, developer name, folder, and format
  • Click to Select: Click any item to view its metadata

Right Pane - Metadata Viewer

  • Monaco Editor: Professional code editor with syntax highlighting
  • JSON Formatting: Beautifully formatted metadata
  • Download: Export metadata as JSON file
  • Header Info: Shows item details (name, type, developer name, folder)

Splitter

  • Drag the splitter between panes to adjust the layout
  • Minimum widths enforced for usability

API Endpoints Used

The application uses the following Salesforce REST API endpoints:

Reports

  • List: SOQL query via sf data query
  • Metadata: /services/data/vXX.0/analytics/reports/{reportId}/describe

Dashboards

  • List: SOQL query via sf data query
  • Metadata: /services/data/vXX.0/analytics/dashboards/{dashboardId}/describe

Troubleshooting

Org Not Authenticated

If you get authentication errors:

sf org login web -a myalias

Port Already in Use

If port 3000 is in use, specify a different port:

srde start -o myorg -p 8080

Permission Issues

If you can't access reports/dashboards, ensure your user profile has:

  • View All Data OR
  • View Reports in Public Folders
  • Manage Dashboards in Public Folders

License

MIT (c) Mohan Chinnappan


Made with ❤️ for Salesforce developers