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

@marsson/ciutils

v0.2.1

Published

Utilities for enabling continuous integration for Salesforce development under SF CLI

Readme

SF-CIUtils: Salesforce CI/CD Utilities 🚀

NPM Downloads/week License codecov

🌟 What is SF-CIUtils?

SF-CIUtils is a powerful toolkit for Salesforce developers who want to supercharge their CI/CD workflows! This plugin for the Salesforce CLI provides essential utilities that make continuous integration and deployment with Salesforce a breeze.

Think of it as your Swiss Army knife for Salesforce CI/CD operations - whether you're validating repository metadata, monitoring deployments, managing file uploads, or handling user permissions, SF-CIUtils has got you covered!

✨ Features

  • Validate Repository Metadata: Compare your local metadata with what's in your org to catch metadata drift
  • Report on Deployments: Get detailed, real-time information about your deployments
  • Create Files: Upload files to Salesforce with ease
  • Remove Assignments: Efficiently manage permission sets, permission set groups, and group assignments

🚀 Installation

sf plugins install @marsson/ciutils

Or install a specific version:

sf plugins install @marsson/[email protected]

🔧 Commands

sf validate repository metadata

This command helps you validate your local metadata against what's in your Salesforce org. It's like having a detective that spots differences between your local files and what's actually deployed!

sf validate repository metadata --folder path/to/metadata --target-org your-org

Example: Check if your local Apex classes match what's in your production org:

sf validate repository metadata --folder force-app/main/default/classes --target-org production

sf reporton deployment

Keep an eye on your deployments with this command. It's like having a deployment dashboard right in your terminal!

sf reporton deployment --deploymentid 0AfXXXXXXXXXXXXXXX --target-org your-org

Example: Monitor a deployment and wait for it to complete:

sf reporton deployment --deploymentid 0AfXXXXXXXXXXXXXXX --target-org production --awaitcompletion

sf create file

Upload files to your Salesforce org with this handy command. Perfect for adding documents, images, or any other files to your org!

sf create file --file path/to/file --target-org your-org

Example: Upload an image and attach it to a record:

sf create file --file assets/logo.png --title "Company Logo" --parent-id 001XXXXXXXXXXXXXXX --target-org production

sf remove assignments

Efficiently manage user permissions by removing assignments from users. Great for cleaning up access during user offboarding!

sf remove assignments --object PermissionSet --usernames [email protected] --target-org your-org

Example: Remove multiple permission sets from multiple users:

sf remove assignments --object PermissionSet --usernames [email protected] [email protected] --target-org production

🧪 Development

To contribute to SF-CIUtils, follow these steps:

  1. Clone the repository:

    git clone https://github.com/marsson/sf-ciutils.git
  2. Install dependencies:

    yarn install
  3. Build the plugin:

    yarn build
  4. Link to your local Salesforce CLI:

    sf plugins link .
  5. Run tests:

    yarn test

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

🙏 Acknowledgments

  • Thanks to the Salesforce CLI team for their amazing work
  • Shoutout to all the contributors who have helped make this project better
  • Special thanks to the Salesforce developer community for their continuous support

Happy coding! May your deployments be swift and your validations pass on the first try! 🎉