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

sf-meta-cli

v1.1.2

Published

Analyze Salesforce manual steps and suggest Metadata API automation using LLM

Readme

Salesforce Metadata Automation Analyzer

License Node.js LLM Providers

Turn manual Salesforce org setup steps into Metadata API automation suggestions — using AI.

Upload a CSV of manual steps → Get an interactive HTML report with:

  • Can this be automated?
  • Which metadata type?
  • What API action?
  • Clear reasoning
  • Search, sort, export, copy prompts

Screenshot

Demo1

Features

| Feature | Description | |--------|-----------| | LLM-Powered Analysis | Uses Ollama, OpenAI, Claude, Groq, or Grok | | Prompt-Only Mode | --just-prompt-only → Full HTML with all LLM prompts (no API calls) | | Interactive HTML Report | Search, sort, paginate, export CSV/JSON | | Dark Mode | --dark | | Copy Prompt to Clipboard | One-click copy from modal | | Batch Processing | With progress, retries, timeouts | | Auto-open in Browser | Report opens immediately |


Quick Start

1. Install

npm install -g sf-meta-cli

Run Prompt-Only Mode (No LLM)

sf-meta steps.csv --just-prompt-only -o prompts.html --dark

Opens interactive HTML with every LLM prompt — perfect for debugging or sharing.


Run Full Analysis

With Ollama (default, local)

sf-meta steps.csv -m llama3.2

With OpenAI

sf-meta steps.csv -p openai -k sk-... -m gpt-4o

With Groq

sf-meta steps.csv -p groq -k gsk-... -m llama3-70b-8192

CSV Format

Step,Description,Object,Action
Create Custom Field,Add a text field for notes,Account,Create
Update Page Layout,Add field to layout,Opportunity,Update
Set Up Validation Rule,Require reason on close,Opportunity,Create

All columns are preserved in the output.


Options

sf-meta <csv> [options]

  -m, --model <name>        LLM model (default: llama3.1)
  -p, --provider <name>     ollama|openai|claude|groq|grok (default: ollama)
  -k, --api-key <key>       API key (required for non-ollama)
  -u, --base-url <url>      Custom base URL
  -o, --output <file>       Output HTML file (default: report.html)
  --dark                    Enable dark mode
  --batch <size>            Batch size (default: 5)
  --timeout <ms>            Request timeout (default: 30000)
  --retry <count>           Retries on failure (default: 3)
  --just-prompt-only        Generate HTML with prompts only (no LLM)

Example: Prompt-Only Report

sf-meta steps.csv --just-prompt-only -o prompts.html

Result:

  • Full table with all prompts
  • Search: CustomField
  • Click View → modal with full prompt
  • Click Copy Prompt → ready for LLM playground

Roadmap

  • [ ] Export to Markdown
  • [ ] Save prompts as .txt files
  • [ ] VS Code extension
  • [ ] Docker image
  • [ ] Web UI

License

MIT (c) Mohan Chinnappan


Made with by Salesforce architects tired of manual setup steps.

“If it’s in the UI, it’s probably in the Metadata API.” — This tool proves it.