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

lmsdt

v1.0.0

Published

LMS data Transfer tool to ensure data consistency between salesforce LMS environments.

Readme

lmsdt — Loyalty Management Data Transfer

NPM

A Salesforce CLI plugin that keeps Loyalty Management (LMS) configuration data consistent between Salesforce orgs — e.g. from production into refreshed sandboxes.

Loyalty Cloud data seeding is hard for two reasons this plugin solves:

  1. Ordering & state — records must load in a strict dependency sequence, and Promotions must be inserted deactivated and only activated afterwards.
  2. External identity — idempotent upserts need stable external-id (deployment key) fields that are not uniformly available across the LMS objects.

Installation

sf plugins install lmsdt

Commands

| Command | Purpose | | --- | --- | | sf verify externalIds | Report every LMS record whose external-id field is empty. | | sf fill missing ids | Backfill blank deployment keys with the record's own id (safe, consent-gated handling of active joint promotions). | | sf compare orgs lmsdata | Field-level diff of LMS configuration between two orgs, keyed by deployment key. | | sf seed orgs lmsdata | Copy every added/modified record from a source org into a target org in dependency order, with cross-org lookup remapping, promotion configuration sync, and activation. Never deletes target records. |

Typical flow

# 1. Ensure the source org has external ids everywhere
sf verify externalIds --target-org SOURCE --external-id-field LMS_Deployment_Key__c
sf fill missing ids --target-org SOURCE

# 2. Preview, then seed the delta into the target
sf seed orgs lmsdata -s SOURCE -t TARGET --dry-run
sf seed orgs lmsdata -s SOURCE -t TARGET

# 3. Confirm parity
sf compare orgs lmsdata -s SOURCE -t TARGET

Every command supports --json for programmatic use. Run any command with --help for full flag documentation.

Notes

  • Promotions are always inserted deactivated and re-activated in a dedicated final pass; promotions activated via the API may require a manual deactivate/reactivate in the UI before they process Transaction Journals (Salesforce Loyalty Known Issue).
  • Records that exist only in the target are reported but never deleted.

License

BSD-3-Clause