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

@chasd00/sunny-day

v1.2.3

Published

A collection of useful Salesforce CLI metadata utilities

Readme

Sunny Day

NPM Downloads/week License

About

This is a Salesforce CLI plugin containing handy metadata analysis utilities. I created this plugin to get metadata processing functionality that I find useful into the hands of all Salesforce developers/administrators.

ps2csv Usage Examples

  1. Output all user permissions for a permission set with name my_ps as CSV and make the first column the permission name.

    sf sday ps2csv --permissionset my_ps --permission userPermissions
  2. Same as above but now write the output to a file.

    sf sday ps2csv --permissionset my_ps --permission userPermissions --outputfile user_perms.csv

    Note: If your output filename ends with .xlsx then an Excel spreadsheet is created instead of a plain text/csv file

  3. Output object level permissions

    sf sday ps2csv --permissionset my_ps --permission objectPermissions
  4. Output field level permissions from a project in another folder.

    sf sday ps2csv --projectdir ../my_other_sandbox --permissionset my_ps --permission fieldPermissions
  5. Get the full list of options and more info.

    sf sday ps2csv --help

psg2csv Usage Examples

Command psg2csv works just ps2csv above except it analyzes PermissionSetGroups. psg2csv combines all Permission Sets that make up the group and also applies the Muting Permission Set if one exists.

  1. Output all user permissions for a permission set group with name my_ps_group as CSV.

    sf sday psg2csv --permissionsetgroup my_ps_group --permission userPermissions

xlf2csv Usage Examples

Command xlf2csv reads a translation file exported from Tranlations Workbench in XLIFF format and then outputs CSV.

  1. Output to stdout

    sf sday xlf2csv --file ./translations/my_translation_file.xlf
  2. Write the output to a spreadsheet

    sf sday xlf2csv --file ./translations/my_translation_file.xlf --outputfile translations.xlsx

Agent Usage

  1. Pipe stdout to an agent for more processing.

    sf sday ps2csv --permissionset my_ps --permission userPermissions | claude -p "what granted permissions are related to sites or communities?"

Install

To install the latest version:

sf plugins install @chasd00/sunny-day

If you don't want to install the official release you can clone this repository and link it to your sf command:

# Clone the repository
git clone [email protected]:chasd00/sunny-day.git

# Install the dependencies and compile
yarn && yarn build

# Link sunny-day to your sf cli
sf plugins link .

Issues

Log any issues you find here https://github.com/chasd00/sunny-day/issues

Roadmap/Wants

  • psVScsv: given a PS name, path to a CSV, and permission type compare the PS and CSV then output any differences. Used to ensure permission sets balance to a specification spreadsheet. (maybe a psgVScsv too)

  • --explode flag on psg2csv that does not combine the permission sets that make up the group and outputs each permisson set and its permission in the output file.

Changelog

  • 6/27/2026 - version 1.2.3 released
    • switched the Excel-writing library to a dependency-free build of SheetJS so installing the plugin no longer prints npm deprecation warnings
    • fixed a bug in psg2csv related to applying muting permission sets
    • fixed a bug when a permission is specified but doesn't exist in the permissionset
    • fixed a bug related to CSV output, under certain conditions it will fail with an error
    • the plugin now warns you when a newer version is available on npm (run sf plugins update to upgrade). Set SUNNY_DAY_SKIP_UPDATE_CHECK to disable.