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

@gtm2/cli

v0.14.1

Published

GTM² in your terminal. Talk to your go-to-market system.

Readme

GTM² CLI

GTM² in your terminal. A branded terminal head on the GTM² platform: talk to your go-to-market system in plain English, or run direct commands, and watch it work against your real workspace.

It is a thin client. The tools it can call live on the GTM² MCP server (/api/mcp); the model that drives the agent loop is configurable (Claude today, Codex or Gemini once the brain moves server-side). The same prospect approval gates that protect the web app apply here.

Quick start

Install (once published)

npm i -g @gtm2/cli  # or: curl -fsSL https://gtm2.ai/install | sh
gtm2 login          # connect your workspace (token now; browser flow soon)
gtm2                # opens the interactive terminal

Update anytime with gtm2 upgrade. The CLI also notifies you on launch when a newer version is available.

Develop from source

npm install
npm run build
npm link            # puts `gtm2` on your PATH, pointing at this checkout
gtm2 login
gtm2

Before publish, others can install straight from GitHub: npm i -g github:craig-higherops/gtm2-cli.

gtm2 config shows the saved settings (secrets masked); gtm2 logout clears the token. Distribution + the in-app install link are detailed in docs/DISTRIBUTION.md; the browser login flow in docs/CLI_AUTH_DEVICE_FLOW.md.

Modes

  • Interactive (gtm2): a REPL with the GTM² brand, slash commands, and agent requests.
  • One-shot (gtm2 ask "who is heating up this week?"): run a single request.
  • Direct (gtm2 tools, or /heating, /moments, /counts inside the REPL): call tools without the model. Works with just a token.

Config

Env vars (or ~/.config/gtm2/config.json):

| Var | Purpose | |---|---| | GTM2_MCP_URL | MCP endpoint, default https://gtm2.ai/api/mcp | | GTM2_TOKEN | per-workspace token, acts with your role | | GTM2_PROVIDER | agent brain: codex or anthropic | | ANTHROPIC_API_KEY | model key for the anthropic provider | | GTM2_MODEL | model id for the anthropic provider |

Agent brain (provider)

Two ways to run the agent loop:

  • codex (default when no Anthropic key is set): drives the Codex CLI (codex exec) on your ChatGPT subscription, so it is $0, no API key. Codex connects to the GTM² MCP server itself and calls the tools. Requires the Codex CLI installed and logged in (codex login).
  • anthropic: runs the loop in-process with the AI SDK; needs ANTHROPIC_API_KEY (billed per token), streams token by token.

Switch live with /provider codex or /provider anthropic, or set GTM2_PROVIDER. Prospect-reaching tools stay approval-gated server-side regardless of provider.

Status

v0.1, first iteration. The live MCP server is read-only today, so the CLI reads and reasons. Action tools (draft and send outreach, update CRM) light up automatically once the GTM² MCP surface is bridged to the full action catalog.

The roadmap: move the agent loop server-side so the CLI becomes a pure thin client and the workspace owns model choice across Claude, Codex, and Gemini.