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

@trackdolphin/cli

v0.1.3

Published

Trackdolphin on the command line: every API endpoint is a command, derived from the OpenAPI description

Readme

@trackdolphin/cli

Trackdolphin on the command line — every API endpoint is a command.

Trackdolphin is server-side conversion tracking for WooCommerce, Shopware, Shopify and custom frontends. This package gives you the whole API as a CLI: check tracking health in CI, pull KPIs into a script, start an import without opening the dashboard.

Quick start

export TRACKDOLPHIN_TOKEN=td_live_…      # Dashboard → Settings → API

npx @trackdolphin/cli shops               # list your shops
npx @trackdolphin/cli tracking-health shop_meinshop_de_ab12cd
npx @trackdolphin/cli kpis shop_meinshop_de_ab12cd --from 2026-09-01
npx @trackdolphin/cli --help              # every command, generated

Install it globally if you use it often:

npm install -g @trackdolphin/cli
trackdolphin shops

Use it in CI

tracking-health exits non-zero when delivery to an ad platform is broken, so a silent tracking outage fails the build instead of going unnoticed for weeks:

- name: Tracking still healthy?
  run: npx @trackdolphin/cli tracking-health ${{ vars.TD_SHOP_ID }}
  env:
    TRACKDOLPHIN_TOKEN: ${{ secrets.TRACKDOLPHIN_TOKEN }}

Output is JSON, so jq works as you would expect:

npx @trackdolphin/cli kpis "$SHOP" | jq '.purchases, .revenue'

How it works

The command list is not maintained by hand. It is derived from the OpenAPI description of the Trackdolphin API — today that is more than 50 operations across shops, tracking health, KPIs, daily events, channels, pages, funnel, event types, onboarding, connections, cohorts, imports and API keys. A new endpoint is a new command the same day.

Configuration

| Variable | Meaning | Default | | --- | --- | --- | | TRACKDOLPHIN_TOKEN | API token from Settings → API. Required. | — | | TRACKDOLPHIN_URL | Point at another instance. | https://api.trackdolphin.com |

Requirements

Node.js 22 or newer.

Support

Issues and pull requests: https://github.com/trackdolphin/mcp. This repository is a snapshot of the Trackdolphin monorepo; every commit names the revision it came from.

License: MIT.


Auf Deutsch

Trackdolphin auf der Kommandozeile. Die Befehle werden nicht gepflegt, sondern aus der OpenAPI-Beschreibung der API abgeleitet: Ein neuer Endpunkt ist sofort ein neuer Befehl.

Nützlich vor allem in der Pipeline: tracking-health endet mit einem Fehlercode, wenn die Zustellung an eine Werbeplattform klemmt. Ein Tracking-Ausfall ist still — der Shop verkauft weiter, die Seite lädt, nur die Messung ist tot. So fällt er beim Bauen auf statt Wochen später.

Deutsche Dokumentation: https://trackdolphin.com/docs/cli