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

@jrc03c/gt-cli

v0.1.7

Published

CLI for the GuidedTrack web API

Readme

gt-cli

A TypeScript CLI for the GuidedTrack web API.

Install

Requires Node.js >= 20 and pnpm.

pnpm install
pnpm build
pnpm link --global  # makes `gt` available globally

Authentication

Auth is resolved in this order:

  1. Environment variables: GT_EMAIL and GT_PASSWORD
  2. Config file: email and password fields in gt.config.json
  3. Interactive prompt: falls back to prompting if neither is set

Environment

Set GT_ENV to target different GuidedTrack environments:

| Value | Host | | ---------------------- | ----------------------------------------- | | development | https://localhost:3000 | | stage | https://guidedtrack-stage.herokuapp.com | | production (default) | https://www.guidedtrack.com |

Commands

Project workflow

gt init                          # Create gt.config.json by scanning for program files
gt config                        # Print current project configuration
gt push                          # Upload local programs and build
gt push --only <key>             # Push a single program
gt push --no-build               # Push without building
gt pull                          # Download all program sources from the server
gt pull --only <key>             # Pull a single program
gt create [names...]             # Create new programs (updates gt.config.json)
gt build                         # Compile programs and report errors
gt build --only <key>            # Build a single program

Program management

gt program list                  # List all programs
gt program find <query>          # Search programs by name
gt program get <name>            # Fetch program metadata (JSON)
gt program source <name>         # Fetch program source code
gt program build <name>          # Build a specific program
gt program delete <name>         # Delete a program (with confirmation)
gt program delete <name> -y      # Delete without confirmation

Program data

gt program data <name>           # Download program data as CSV (stdout)
gt program csv <name>            # Alias for `program data`
gt program data <name> -o f.csv  # Save to file

Browser shortcuts

gt program view <name>           # Open program edit page
gt program preview <name>        # Open program preview
gt program run <name>            # Open program run page

Generic API access

gt request <path>                             # GET any API endpoint
gt request <path> -X POST -d '{"key":"val"}'  # POST with JSON body
gt request <path> -H "X-Custom:value"         # Add custom headers

Configuration

gt init creates a gt.config.json in the current directory:

{
  "email": "[email protected]",
  "password": "your-password",
  "programs": {
    "abc1234": {
      "file": "my-program.gt",
      "id": 12345
    }
  }
}

Programs are keyed by their 7-character program key, and each entry maps to a local .gt file and its server-side numeric ID.

The email and password fields are optional — they provide an alternative to environment variables for authentication (see Authentication above).

NOTE: 🚨 If storing email and password values in gt.config.json, then DO NOT commit that file to the repository history! Instead, add gt.config.json to your .gitignore file.

Separate push and pull files

If you use a build step to transform your .gt files before pushing, you can specify separate source and dist paths:

{
  "programs": {
    "abc1234": {
      "file": { "src": "src/program.gt", "dist": "dist/program.gt" },
      "id": 12345
    }
  }
}

With this configuration, gt pull writes to src/program.gt and gt push reads from dist/program.gt.

Development

pnpm dev [command] [args]   # Run via tsx (no build step)
pnpm build                  # Bundle to dist/
pnpm test                   # Run tests
pnpm test:watch             # Watch mode
pnpm lint                   # ESLint
pnpm format                 # Prettier