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

@microsoft/powerbi-desktop-bridge-cli

v0.1.1

Published

CLI for Power BI Desktop Bridge automation: discover running Desktop instances, reload PBIR reports, and capture page screenshots over the named-pipe bridge. Public preview.

Downloads

1,136

Readme

Power BI Desktop Bridge CLI

Command-line tooling for automating Power BI Desktop through the Desktop Bridge named pipe. It is designed for agent workflows that edit PBIR/PBIP files, reload the open report in Desktop, capture screenshots, and verify rendered output.

Usage

npm install -g @microsoft/powerbi-desktop-bridge-cli
powerbi-desktop status

Commands

| Command | Purpose | |---------|---------| | powerbi-desktop open <path.pbip\|path.pbix> | Launch Power BI Desktop with a report | | powerbi-desktop status [--pid <pid>] | List bridge instances, current files, unsaved-change state, and PBIR pages resolved from each instance's current file | | powerbi-desktop manifest --pid <pid> | Print the Desktop Bridge manifest for one Desktop instance | | powerbi-desktop reload --pid <pid> | Reload the selected Desktop instance's current PBIP/PBIR report definition. For semantic model changes, use the semantic-model workflow and reopen the PBIP if changes are not reflected. | | powerbi-desktop screenshot <page-id> --pid <pid> [--scale <1-3>] | Capture one report page from one selected Desktop instance; CLI default scale is 2 | | powerbi-desktop screenshot-all --pid <pid> --output-dir <dir> [--scale <1-3>] | Capture every page listed in the selected Desktop instance's current PBIR pages.json; CLI default scale is 2 |

Most commands operate on a single Power BI Desktop process. When more than one Desktop instance is available, run powerbi-desktop status first and pass the desired bridge PID with --pid.

Commands write machine-readable JSON to stdout. Progress messages and non-contract diagnostics are written to stderr so stdout can be piped safely to other tools.

reload reloads the PBIP/PBIR report currently open in the selected Desktop instance. It does not accept a separate report path; open the desired report in Desktop first, then target that Desktop process with --pid.

Run reload and screenshot operations serially for a given PID. Discovery commands such as status can run concurrently, but overlapping operations against the same Desktop process may be cancelled or time out. Use --wait-seconds when the report is still loading or immediately after a reload.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Security

Microsoft takes the security of our software products and services seriously, which includes all source code repositories in our GitHub organizations.

Please do not report security vulnerabilities through public GitHub issues.

For security reporting information, locations, contact information, and policies, please review the latest guidance for Microsoft repositories at https://aka.ms/SECURITY.md.

Code of conduct

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

See the full Microsoft Open Source Code of Conduct.