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-dkim-tool

v1.0.4

Published

Salesforce DKIM Setup Wizard — CLI + Web UI

Downloads

49

Readme

SF DKIM Tool 📧

Salesforce DKIM Setup Wizard — a Node.js CLI + Express web UI that guides you through every step of setting up DomainKeys Identified Mail (DKIM) for your Salesforce org. Improve email deliverability, prevent spoofing, and pass DMARC checks.

Screenshots

SF-DKIM-1

SF-DKIM-2

SF-DKIM-3

SF-DKIM-4

SF-DKIM-5

Quick Start

npm install -g sf-dkim-tool

Usage

sf-dkim steps          # full terminal guide
sf-dkim ui             # launch web dashboard at http://localhost:4242

CLI Commands

| Command | Description | |---------|-------------| | sf-dkim steps | Print complete setup walkthrough | | sf-dkim check-dns --domain acme.com | Check selector1 CNAME propagation | | sf-dkim check-dns --domain acme.com --selector selector2 | Check selector2 | | sf-dkim verify-setup --domain acme.com | Check both selectors at once | | sf-dkim generate-dns-records --domain acme.com --s1 <val> --s2 <val> | Print DNS records | | sf-dkim ui --port 4242 | Launch web dashboard |

Setup Overview

  1. Salesforce Setup → DKIM Keys → Create New Key — Selector: selector1, Alternate: selector2, Key Size: 2048
  2. Copy the two CNAME values Salesforce provides
  3. Add both CNAMEs to your DNS provider
  4. Wait for DNS propagation (15 min–48 hours)
  5. Verify with sf-dkim verify-setup --domain your-domain.com
  6. Click Activate in Salesforce → status → Active
  7. Send test email → check headers for dkim=pass

DNS Records Format

Type    Host                                  Value                              TTL
CNAME   selector1._domainkey.your-domain.com  <hash>.dkim.salesforce.com         3600
CNAME   selector2._domainkey.your-domain.com  <hash>.dkim.salesforce.com         3600

Sample

Type	Host	Value	TTL
CNAME	selector1._domainkey.mohanc.org	selector1.wrovyk.custdkim.salesforce.com.	3600
CNAME	selector2._domainkey.mohanc.org	selector2.ehet62.custdkim.salesforce.com.	3600

References