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

@simplysf/simply-utam

v0.1.1

Published

Salesforce UTAM UI testing and build automation CLI

Readme

@simplysf/simply-utam

NPM License: Apache-2.0

Salesforce UTAM UI testing and build automation CLI, built by SimplySF.

The simply-utam CLI automates Salesforce UI testing build pipelines: scanning LWC definitions for root components, generating .rules.json files, merging deep JSON overrides into compiled UTAM page objects, rewriting namespace prefixes across packages, and scaffolding missing Cucumber step definitions.

Installation

npm install --save-dev @simplysf/simply-utam

Requires Node.js 22 or later.

Commands

  • simply-utam init: Scaffolds starter UTAM configs (generator.config.json, utam.config.json, wdio.conf.mjs, .utam/namespace-map.json) and non-destructively injects standard Wireit tasks into package.json.
  • simply-utam rules: Scans LWC component definitions and generates or updates UTAM .rules.json files for root components.
  • simply-utam overrides: Deeply merges custom element assertions, wait conditions, and visibility rules from *.utam-overrides.json into generated *.utam.json files while preserving file indentation.
  • simply-utam rewrite: Rewrites namespace prefixes across compiled *.utam.json files according to .utam/namespace-map.json.
  • simply-utam steps: Statically analyzes Gherkin .feature files, compiles existing step expressions, detects true undefined steps, and appends formatted Cucumber expressions into target step files.
  • simply-utam build: Convenience runner executing all compilation and transformation stages sequentially (rules -> utam-generate -> overrides -> rewrite -> utam).

Usage & Wireit Integration

In a Salesforce test project:

{
  "scripts": {
    "build:utam-rules": "wireit",
    "build:utam-generate": "wireit",
    "build:utam-overrides": "wireit",
    "build:utam-rewrite-namespaces": "wireit",
    "build:utam": "wireit",
    "test:ui": "wireit"
  },
  "wireit": {
    "build:utam-rules": {
      "command": "simply-utam rules"
    },
    "build:utam-generate": {
      "command": "utam-generate -c generator.config.json",
      "dependencies": ["build:utam-rules"]
    },
    "build:utam-overrides": {
      "command": "simply-utam overrides",
      "dependencies": ["build:utam-generate"]
    },
    "build:utam-rewrite-namespaces": {
      "command": "simply-utam rewrite -c .utam/namespace-map.json",
      "dependencies": ["build:utam-overrides"]
    },
    "build:utam": {
      "command": "utam -c utam.config.json",
      "files": ["**/__utam__/**/*.utam.json", "**/__utam__/**/*.utam.js"],
      "output": ["pageObjects"],
      "dependencies": ["build:utam-rewrite-namespaces"]
    },
    "test:ui": {
      "command": "wdio run wdio.conf.mjs",
      "dependencies": ["build:utam"]
    }
  }
}

Re-exports

@simplysf/simply-utam re-exports the entire @simplysf/simply-utam-core programmatic API (TestEnvironment, LightningNavigator, goToExperiencePage, loginAsUser, logUtamHtml, etc.) so consumers can optionally install only @simplysf/simply-utam.

License

Licensed under the Apache-2.0 license.