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

@ltotal/openclaw-config-guard

v1.0.2

Published

A publishable CLI that modularizes OpenClaw config files and keeps them hot-reload friendly.

Readme

openclaw-config-guard

@ltotal/openclaw-config-guard is a publishable npm CLI that watches an OpenClaw config directory, splits large openclaw.json sections into conf.d/*.json, and touches the root config when sub-config files change so OpenClaw can hot-reload consistently.

The CLI provides:

  • start, stop, restart, status, and logs commands for managing the background guard
  • watch for foreground debugging
  • config for an interactive settings wizard covering:
    • TARGET_DIR
    • MAX_BACKUPS
    • STABILITY_WAIT
    • USE_POLLING
    • POLL_INTERVAL
    • SUB_EXT
    • KEYS_TO_EXTRACT

Install

npm install -g @ltotal/openclaw-config-guard

Node.js 20.19.0 or newer is required.

Or run it without a global install:

npx @ltotal/openclaw-config-guard help

Commands

openclaw-config-guard config
openclaw-config-guard start
openclaw-config-guard status
openclaw-config-guard logs
openclaw-config-guard restart
openclaw-config-guard stop

For local debugging, you can also run the watcher in the foreground:

openclaw-config-guard watch

Config Wizard

The wizard stores settings in:

~/.openclaw-config-guard/config.json

Default values:

{
  "targetDir": "~/.openclaw",
  "maxBackups": 6,
  "stabilityWait": 5000,
  "usePolling": false,
  "pollInterval": 500,
  "subExt": ".json",
  "keysToExtract": [
    "agents",
    "gateway",
    "hooks",
    "models",
    "skills",
    "channels",
    "plugins",
    "bindings"
  ]
}

Runtime Files

The CLI keeps its own runtime files under:

~/.openclaw-config-guard/
  • config.json: saved wizard settings
  • state.json: active background process metadata
  • guard.log: watcher logs
  • guard.log.1 to guard.log.3: rotated log files when the active log exceeds 1 MiB

Publishing checklist

  1. Confirm the GitHub URLs in package.json match the real repository.
  2. Run npm run release:check.
  3. Publish with npm run publish:npm -- --access public.

Development

npm install
npm test
npm run release:check
node ./bin/openclaw-config-guard.js help