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

simple-sf-cli

v2.4.0

Published

A simplified Salesforce CLI plugin

Readme

🚀 Simple SF CLI

SimpleSfCli NPM Package CI/CD

We value your feedback! Please share your thoughts on how we can enhance your ci-cd with SimpleSfCli User Feedback form

Supercharge Your Salesforce Deployments in Just Seconds!

Simple SF CLI is a lightweight, 19 kb Node.js-powered command-line tool (unpacked size: ~81kb) crafted to streamline your Salesforce DX (SF) workflows. Convert, package, and deploy your SFDX projects to Salesforce in record-breaking 5-7 seconds—all without Salesforce CLI or plugins.

🎯 Why Choose Simple SF CLI?

  • No Salesforce CLI Required: Say goodbye to additional dependencies and complex configurations.
  • Zero Installation Overhead: Use it directly with npx no local installations needed.
  • Blazing Fast Setup: Set up in 3-5 seconds, making it perfect for CI/CD pipelines.
  • Built from Scratch: With just 4 dependencies, fully customized for reliability and speed.

Prerequisites

Before using the simpleSfCli plugin, ensure you meet the following requirements:

  • [ ] Create a Private Key and Self-Signed Digital Certificate
    Generate a private key and a self-signed digital certificate. This is essential for establishing a secure JWT-based connection with Salesforce.

  • [ ] Create a Custom Connected App
    Set up a connected app in your Salesforce instance and upload the digital certificate to it. This enables API-based authentication for your application.

If you are not familiar with setting up the JWT flow for Salesforce authentication, please refer to Salesforce's guide:
Create a Private Key and Self-Signed Digital Certificate.

You do not need to install the Salesforce CLI (sf cli) to complete these steps or use the simpleSfCli plugin. This plugin is designed to simplify interactions with Salesforce without relying on the Salesforce CLI.

🛠 Features That Stand Out

  • ⚡ Lightning-Fast Deployments: Push your SFDX projects to Sandbox or Production faster than it takes to install Salesforce CLI.
  • 📄 Automated package.xml Generation: Leverage Metadata API for seamless deployments.
  • ✂️ Selective Deployments: Exclude specific metadata components with ease.
  • 🤝 CI/CD Ready: Integrates smoothly with tools like GitHub Actions, Bitbucket, and more.
  • 📑 Comprehensive Logs: Detailed error tracking for hassle-free debugging.

⚡ Get Started in Seconds!

Run the CLI with npx—no need for installation! bash Copy code npx simple-sf-cli [options] Watch as your deployment completes in record time.

📦 Package Details

| Detail | Value | |-----------------------|---------| | Package Size | 19.1 kB | | Unpacked Size | 78.3 kB |

📦 Supported Components

Link Here

Elevate your Salesforce deployment game with Simple SF CLI — the ultimate tool for developers on the move.

Try it now:

Option 1: Traditional Installation (Global NPM Install)

Install globally via NPM for repeated use:

npm install -g simple-sf-cli
simpleSfCli \
    --username [email protected] \
    --clientId myClientId \
    --privateKey ./server.key \
    --env PRODUCTION \
    --exclude Profile,NamedCredential

Option 2: Recommended (Zero Installation)

Skip the installation hassle and use npx for instant execution:

npx simple-sf-cli \
    --username [email protected] \
    --clientId myClientId \
    --privateKey ./server.key \
    --env PRODUCTION \
    --exclude Profile,NamedCredential

Command Options for simpleSfCli --help

simpleSfCli --help

Options:
  -V, --version                  output the version number
  -u, --username* <username>      Salesforce username
  -c, --clientId* <clientId>      Salesforce client ID
  -k, --privateKey* <privateKey>  Salesforce private key
  -e, --env* <environment>        Production or Sandbox [Default]
  -e, --exclude <types...>        List of metadata types to exclude, e.g.,NamedCredential, Profile
  -s, --source <sourceDir>       Path to the SFDX source directory, unless "force-app/main/default"
  -h, --help                     display help for command
  -t, --testLevel <testLevel> NoTestRun,RunSpecifiedTests,RunLocalTests,RunLocalTests
  -v, --validateOnly <true> Validates the metadata without deployment

   Note: * is a Required option

Exclude Specific Metadata Types

You can exclude specific metadata types from the deployment using the --exclude option:

simple-sf-cli --source <sourceDir> --output <outputZip> --exclude NamedCredential,Profile

Command Options for simpleSfCli

Available Options

| Option | Description | |------------------------------|-------------------------------------------------------------------------------------------------------| | -V, --version | Outputs the current version of simpleSfCli. | | -u, --username* <username> | Required. Specifies the Salesforce username. | | -c, --clientId* <clientId> | Required. Specifies the Salesforce Client ID. | | -k, --privateKey* <privateKey> | Required. Specifies the path to the Salesforce private key file. | | -e, --env* <environment> | Required. Sets the target Salesforce environment. Can be Production or Sandbox (default). | | -e, --exclude <types...> | Excludes specific metadata types from deployment. List metadata types separated by commas. | | -s, --source <sourceDir> | Specifies the path to the SFDX source directory. Defaults to force-app/main/default if not provided. | | -h, --help | Displays detailed help for the command. |

Note: * is a Required option

License

This project is licensed under the MIT License - see the LICENSE file for details.