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-pe-helper

v1.0.1

Published

Platform Encryption Helper - Salesforce PE implementation assistant with web interface

Readme

PE Helper - Platform Encryption Helper

🔐 A comprehensive CLI tool and web interface for managing Salesforce Platform Encryption implementation.

Features

  • Interactive Web Interface with beautiful dark theme using Tailwind CSS
  • Object Browser - Browse and search all Salesforce objects in your org
  • Field Metadata Viewer - View detailed field information with encryption eligibility
  • Configuration Management - Save and export encryption configurations as CSV
  • Built-in Help - Integrated markdown documentation viewer
  • Real-time Updates - Editable encryption settings with instant save

Prerequisites

  • Node.js (v14 or higher)
  • Salesforce CLI (sf or sfdx) installed and configured
  • A Salesforce org with appropriate permissions

Screenshots

pe-helper


Installation

npm install -g sf-pe-helper


# Data directory is automatically created at:
# macOS/Linux: ~/.pe-helper/data/
# Windows: %USERPROFILE%\.pe-helper\data\

Usage

Start the Web Server

# If installed globally
pe-helper start -o [email protected] -p 3000

Command Options

  • -o, --org <username> - Salesforce org username (required)
  • -p, --port <port> - Port number (default: 3000)

Example

pe-helper start -o [email protected] -p 3000

Supported Field Types for Encryption

Platform Encryption supports the following custom field types:

  • ✓ Text
  • ✓ Text Area
  • ✓ Email
  • ✓ Phone
  • ✓ URL
  • ✓ External ID
  • ✓ Date
  • ✓ Date/DateTime

User Interface

Objects Tab

Left Pane - Object List

  • Search and filter objects
  • Click to select an object

Center Pane - Field Metadata

  • View all fields for selected object
  • See field type and encryption eligibility
  • Edit encryption type (Deterministic/Probabilistic)
  • Add comments for each field
  • Search, sort, and filter fields
  • Export to CSV
  • Save configuration

Right Pane - Saved Configuration

  • View previously saved configurations
  • Search within saved data
  • Export configuration to CSV

Help Tab

  • View comprehensive Platform Encryption documentation
  • Markdown-formatted slides
  • Covers encryption concepts, implementation, and best practices

Data Storage Location

All configurations are saved to your home directory:

macOS/Linux:

~/.pe-helper/data/

Windows:

%USERPROFILE%\.pe-helper\data\

This ensures:

  • ✅ Configurations persist across package updates
  • ✅ No permission issues
  • ✅ Easy to backup
  • ✅ User-specific data
  • ✅ Safe from accidental deletion

To find your data directory:

# The app prints it on startup:
pe-helper start -o [email protected]
# Output: Data directory: /Users/yourname/.pe-helper/data

CSV Output Format

The tool generates CSV files with the following columns:

  • Field Name
  • Data Type
  • Label
  • Can Be Encrypted
  • Encryption Type (Deterministic/Probabilistic)
  • Comments

API Endpoints

The Express server exposes the following REST API endpoints:

  • GET /api/org - Get org username
  • GET /api/objects - List all objects
  • GET /api/object/:objectName - Get object field metadata
  • POST /api/save-config/:objectName - Save encryption configuration
  • GET /api/config/:objectName - Get saved configuration
  • GET /api/configs - List all saved configurations
  • GET /api/help - Fetch help documentation

Troubleshooting

"Org username not specified" Error

Make sure to provide the -o or --org flag when starting the server.

"Error loading objects" Message

  • Ensure Salesforce CLI is installed and in your PATH
  • Verify you're authenticated to the org: sf org list
  • Check that the org username is correct

Port Already in Use

Use a different port with the -p flag: pe-helper start -o [email protected] -p 3001

Security Considerations

  • This tool reads metadata from your Salesforce org but does not modify any data
  • Configurations are saved locally in the data/ directory
  • Always review encryption configurations before implementing in production
  • Follow Salesforce Platform Encryption best practices

License

MIT License (c) Mohan Chinnappan


Made with ❤️ for Salesforce Administrators and Architects