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

path-terminal-init

v0.2.9

Published

One-line setup for the Path Terminal SDK integration assistant — connects the user's AI agent to the Path MCP server and installs the per-OS integration recipe (iOS, Android, Windows). The single source of truth for the bootstrap CLI and the recipes.

Readme

path-terminal-init

One-line setup for the Path Terminal SDK integration assistant. It connects the user's AI coding agent (Claude Code or Cursor) to the Path MCP help server and installs the right per-OS integration recipe into their EPOS project. The agent then wires the Path SDK in — a backend switcher for the emulator (Wi-Fi/IP by default, or Bluetooth) and a real Verifone terminal — guided by the recipe and the MCP server's tools.

This repo is the single source of truth for both the bootstrap CLI and the recipes. Path-mcp-server serves them (/rules, /init.js) from here — there are no duplicate copies.

Tuning the install process? It's a pair of repos, not just this one:

  • Path-terminal-init (here) — the recipes/rules (rules/**/*.mdc) the agent follows + the CLI. Changes reach partners only after npm publish (version bump + 2FA).
  • Path-mcp-server — the code examples the agent pulls (get_code_example) + MCP prompts/tools. Changes go live only after a deploy to the box (mcp.path2ai.tech).

A single behaviour change usually touches both (the rule says what, the MCP example gives the code) — tune one without the other and they drift. Then update the Terminal Bible (§12 Distribution & releases) so the docs stay current. Distribution/versioning specifics per platform live in the SDK repos.

Layout

src/cli.ts                                   the bootstrap program
rules/
  ios/path-integration.mdc                   iOS (Swift / SPM)
  android/path-integration-android.mdc       Android (Kotlin / Gradle)
  windows-11/path-integration-windows11.mdc  Windows 11 (WinUI 3 / .NET 10)
  windows-10/path-integration-windows10.mdc  Windows 10 (WPF / .NET Framework 4.8)
build.mjs                                    builds dist/cli.js + dist/init.js

How a customer runs it

Every platform (published to npm) — run from the project root:

npx path-terminal-init

Works on macOS, Linux and Windows (PowerShell or CMD). Needs Node installed. It auto-detects iOS / Android / Windows 11 (WinUI 3) / Windows 10 (WPF). Add --agent cursor for Cursor (default is Claude Code).

Alternative — fetch from the help server (no npm):

# macOS / Linux:
node <(curl -s https://mcp.path2ai.tech/init.js) --agent claude
# Windows PowerShell:
curl.exe -s https://mcp.path2ai.tech/init.js -o "$env:TEMP\path-init.js"; node "$env:TEMP\path-init.js" --agent claude

The CLI writes a .mcp.json (connecting the agent to https://mcp.path2ai.tech), adds the SDK dependency, and drops the matching recipe into .cursor/rules/ and/or CLAUDE.md.

Develop locally

npm install
npm run build      # → dist/cli.js (installable) + dist/init.js (standalone bundle)
npm run typecheck
node dist/cli.js --help

Two artifacts, one source

  • dist/cli.js — the installable CLI. Reads recipes from the local rules/<os>/ folder.
  • dist/init.js — a self-contained bundle for the curl … | node one-liner. It runs with no local rules/ folder, so it fetches the recipe from the server's /rules endpoint.

Path-mcp-server serves dist/init.js at /init.js and the rules/ files at /rules*. Its deploy copies them from this repo, so the server is never a stale duplicate.

Publishing updates to npm

Published as path-terminal-init (public). To ship a new version: bump version in package.json, then:

npm login                       # if not already logged in
npm publish --access public     # prepublishOnly rebuilds dist/ first
npm view path-terminal-init version

npx path-terminal-init always fetches the latest published version.