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

dlw-machine-setup

v0.9.3

Published

One-shot installer for The Machine toolchain

Readme

dlw-machine-setup

NPM wrapper for the One-Shot Setup installer. This package runs a CLI wizard that configures AI-enhanced development with SAP-specific context files and MCP servers.

Usage

npx dlw-machine-setup@latest             # install (interactive wizard)
npx dlw-machine-setup@latest uninstall   # remove a previous install
npx dlw-machine-setup@latest --help      # show subcommands

Requires Node.js >=18. No additional runtime or binaries needed.

Uninstall

The installer records every change it makes into .one-shot-state.json (a per-project rollback journal). Running npx dlw-machine-setup@latest uninstall from the project directory replays that journal in reverse:

  • Files we created (e.g. _ai-context/, factory/, hook scripts under .claude/hooks/) are deleted.
  • Files we modified (e.g. your CLAUDE.md, .gitignore, .mcp.json, .claude/settings.json) have only our marker blocks or owner-tagged entries stripped — user content is preserved.
  • Globally-registered MCP servers (claude mcp add) are removed via claude mcp remove.
  • The state file itself is deleted last.

The uninstaller shows a preview and asks for confirmation before making any changes.

What It Does

The wizard guides you through:

  1. GitHub authentication — one-time OAuth Device Flow (token cached for future runs)
  2. Persona selection — choose your SAP development domains (SAPUI5, CAP, ABAP, BTP, SAP DM, Forms)
  3. AI tool selection — Claude Code, GitHub Copilot, or Cursor
  4. Azure DevOps org — optional, for Azure DevOps MCP integration
  5. Project directory — where to install (defaults to current directory)

After confirming a preview, it downloads context archives from GitHub Releases and writes the appropriate config files for your AI tool.

Authentication

On first run, the installer prompts you to authenticate via GitHub OAuth Device Flow (browser-based). Your token is cached at ~/.one-shot-installer/github-token.json for all future runs.

Alternatively, set the GITHUB_TOKEN environment variable:

# macOS/Linux
GITHUB_TOKEN="your_token_here" npx dlw-machine-setup@latest

# Windows (PowerShell)
$env:GITHUB_TOKEN="your_token_here"
npx dlw-machine-setup@latest

Troubleshooting

| Problem | Solution | |---|---| | Authentication fails | Delete ~/.one-shot-installer/github-token.json and re-run | | Context downloads fail | Check network connectivity and GitHub access | | SSO error | Ask your org admin to approve the OAuth app in GitHub org settings | | Stale cached version | Always use npx dlw-machine-setup@latest to bypass npx cache |

License

Internal use only — DLW-INT-SAP-DEV organization