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

@shopify/shop-cli

v0.1.2

Published

Personal shopping CLI for Shop catalog search, checkout, and order workflows

Readme

Shop CLI

Personal shopping CLI for the Shop catalog: search millions of stores, look up products, sign in to your Shop account, build and complete UCP checkouts, and search your orders for tracking, returns, and reorders.

It talks to the Shopify Global Catalog over MCP and to Shop's auth, checkout, and orders APIs. Tokens are stored in your OS secret store via keytar.

Companion to the Shop skill

This CLI is the companion to the Shop skill, the agent-facing playbook that drives the end-to-end shopping conversation. The skill calls these commands under the hood and documents every command, flag, and workflow in full.

The skill lives at https://shop.app/SKILL.md — see it for the complete reference.

Install

pnpm add --global @shopify/shop-cli

Or with npm:

npm install --global @shopify/shop-cli

Requires Node.js >= 20.

Usage

shop --help
shop auth status
shop search "trail running shoes" --limit 10
shop catalog lookup gid://shopify/ProductVariant/50362300006715
shop orders search --type recent

Commands

  • shop search — search the catalog by text, similar items (--like-id), or image (--image).
  • shop catalog lookup / shop catalog get-product — look up IDs you already hold and fetch full product detail.
  • shop auth — sign in (login, or the non-blocking device-code + poll), check status, read the remaining delegated spending budget, or logout.
  • shop checkoutcreate, update, and complete a UCP checkout on the merchant domain (complete requires --confirm).
  • shop orders search — search recent orders, tracking, order info, returns, and reorder candidates.
  • shop config — persist CLI preferences such as a default country.

Run shop <command> --help for the flags on any command, and see the Shop skill for the full reference and shopping workflow.

Personal-use limits

This CLI is designed for individual end users, for personal use. The Shopify servers it connects to have usage restrictions. Building commercial services, resale platforms, aggregators, or anything that provides third parties with programmatic access to Shopify's catalog, checkout, delegated payments, or aggregated user data is prohibited.

See https://help.shop.app/en/shop/shopping/personal-agents for accepted and prohibited use.

Development

pnpm install
pnpm typecheck
pnpm test
pnpm build

Contributing

Bug reports and pull requests are welcome. Read CONTRIBUTING.md and CODE_OF_CONDUCT.md before getting started.

License

MIT. See LICENSE.md.