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

@goalswon/cli

v0.1.4

Published

GoalsWon CLI — manage goals, targets, and chat from the terminal

Downloads

156

Readme

@goalswon/cli

Manage your GoalsWon goals, targets, and chat from the terminal.

Install

npm install -g @goalswon/cli

Or run directly:

npx @goalswon/cli

Setup

  1. Get an API key at app.goalswon.com > Settings > API Access
  2. Login:
    goalswon auth login YOUR_API_KEY

Commands

Auth

goalswon auth login <key>     # Save API key
goalswon auth status          # Check who you're logged in as
goalswon auth config          # Show config path and API URL
goalswon health               # Check API connectivity

Goals

goalswon goals list --today                    # Today's goals
goalswon goals list --yesterday                # Yesterday's goals
goalswon goals list --tomorrow                 # Tomorrow's goals
goalswon goals list --date 2026-03-27          # Specific date
goalswon goals list --status done              # Filter by status
goalswon goals create "Exercise" --today --tag 2
goalswon goals create "Plan week" --tomorrow
goalswon goals create "Done task" --today --status done  # Create as already completed
goalswon goals complete <id>                   # Mark as done
goalswon goals complete <id> --status partial  # Mark as partial
goalswon goals complete recurring_abc --date 2026-03-26  # Complete recurring goal on a specific day
goalswon goals delete <id>
goalswon goals recurring                       # List recurring templates

Days

goalswon days list                             # Recent days
goalswon days list --from 2026-03-01 --to 2026-03-31
goalswon days show --today                     # Today's detail with goals
goalswon days show --yesterday                 # Yesterday
goalswon days show 20260327                    # Specific date

Targets

goalswon targets list --month 202603           # March targets
goalswon targets create "Read 3 books" --month 202603

Chat

goalswon chat list                             # Recent messages
goalswon chat list --search "meeting"          # Search
goalswon chat send "Hello!" --client <id>      # Send (coaches)

Clients (coaches only)

goalswon clients list                          # All clients
goalswon clients list --type premium           # Filter by type
goalswon clients summary <id>                  # Full client summary

Progress

goalswon progress                              # Last 30 days
goalswon progress --from 2026-01-01 --to 2026-03-31

JSON Output

Add --json to any command to get machine-readable output — great for agents, scripts, and piping to jq:

goalswon goals list --date 2026-04-14 --json
goalswon clients list --json | jq '.[].name'
goalswon days show 20260414 --json

Set JSON as your default (persists across sessions):

goalswon config set json true   # always output JSON
goalswon config set json false  # back to human-readable

Rules:

  • stdout: JSON data only
  • stderr: status messages, warnings, progress hints
  • Exit codes: unchanged (0 = success, non-zero = error)
  • Errors also output as JSON: {"error": "message"}

License

MIT