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-metaexplorer

v0.2.2

Published

Interactive Salesforce CLI plugin to browse, compare, retrieve, and deploy metadata

Readme

sf-metaexplorer

sf-metaexplorer is a Salesforce CLI plugin with an interactive terminal UI to inspect metadata, compare local vs org state, and execute retrieve/deploy actions without manually composing long commands.

Why use it

  • Navigate metadata in a two-panel interface (types and components)
  • See component status at a glance (local-only, remote-only, synced)
  • Select multiple components and run retrieve/deploy in bulk
  • Switch orgs from inside the UI
  • Filter quickly with search and view only selected items
  • Preload selection from one or more git commits

Screenshot

sf-metaexplorer UI

Requirements

  • Node.js >=18
  • Salesforce CLI (sf) installed and authenticated
  • A Salesforce DX project (recommended for local metadata comparison)

Installation

From npm:

sf plugins install sf-metaexplorer

From source:

npm install
sf plugins link .

Usage

Start the UI:

sf metadata explorer

Short alias:

sf explorer

Use a specific org:

sf metadata explorer --target-org myAlias

Preload components changed in commits:

sf metadata explorer -p a1b2c3d -p d4e5f6a

Keyboard shortcuts

| Key | Action | | ----------- | ---------------------------------- | | Tab / h / l | Switch active panel | | j / k | Move cursor | | Space | Toggle current selection | | a | Toggle all in current list | | n | Clear selection | | / | Search components | | v | Toggle selected-only view | | t | Manage subscribed metadata types | | g | Toggle object grouping | | o | Open org selector | | r | Retrieve selected components | | d | Deploy selected components | | s | Sync metadata | | c / Esc | Cancel in-progress retrieve/deploy | | ? | Open help modal | | q | Quit |

Supported metadata types (current)

  • ApexClass, ApexTrigger, ApexComponent, ApexPage
  • LightningComponentBundle, AuraDefinitionBundle
  • CustomObject and object-related metadata (fields, validation rules, record types, layouts, and more)
  • Flow, Profile, PermissionSet
  • CustomLabels, EmailTemplate, StaticResource

Local state

The plugin stores local cache and UI preferences in:

.sf-metaexplorer/state.json

This file is local workspace state and should not be committed.

Development

npm install
npm run compile
npm run lint
npm test

Run the command from source:

node --loader ts-node/esm ./bin/dev.js metadata:explorer

Versioning

This project currently follows an early-stage 0.x release cycle:

  • 0.1.x for fixes and small improvements
  • 0.2.0+ for new features or notable UX/behavior changes
  • 1.0.0 when behavior is considered stable for wider adoption

Contributing

See CONTRIBUTING.md.

License

Apache-2.0