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

@vantienkhai/shippage-cli

v0.5.0

Published

Publish HTML, Markdown, text files, static folders, and MCP previews to Shippage from AI agents or scripts.

Downloads

843

Readme

Shippage CLI

Publish HTML, Markdown, text files, ZIP bundles, and static folders into Shippage from AI agents or scripts.

Install

npm i -g @vantienkhai/shippage-cli

Authenticate

Run browser login once:

shippage login

The CLI opens Shippage in your browser, asks you to confirm a short code, then saves a long-lived API key to ~/.config/shippage/config.json. Environment variables still override the saved config:

export SHIPPAGE_API_URL="https://shippage.app"
export SHIPPAGE_TOKEN="<your spg_ API key>"

Commands

shippage login
shippage publish ./out/article.html --title "AI Search Glossary" --slug ai-search-glossary --visibility public
shippage publish ./out/article.html --upload-assets --title "Article with assets"
shippage publish ./dist --title "Static site" --slug static-site --visibility public
shippage asset upload ./public/hero.png ./public/demo.mp4
shippage mcp
shippage bulk "out/**/*.html" --visibility unlisted
shippage list
shippage share abc123 --visibility private --private-token
shippage domain add docs.example.com
shippage domain verify docs.example.com

For anonymous publishing, omit SHIPPAGE_TOKEN. Anonymous pages are ownerless until a later claim flow is added.

Visibility controls search behavior automatically: public pages are indexable; unlisted and private pages are noindex.

Folder publishing requires an index.html at the folder root. The CLI zips the folder and Shippage serves relative assets from the published URL.

For existing HTML that references local images, videos, fonts, scripts, or stylesheets, use --upload-assets. The CLI uploads local src/href files first, rewrites those URLs in memory, then publishes the rewritten HTML without editing your local file.

MCP

Run Shippage as an MCP server for Claude Code, Cursor, Windsurf, Codex, or any MCP-compatible agent:

{
  "mcpServers": {
    "shippage": {
      "command": "shippage",
      "args": ["mcp"],
      "env": {
        "SHIPPAGE_API_URL": "https://shippage.app"
      }
    }
  }
}

Authenticate once with shippage login, or pass SHIPPAGE_TOKEN in the MCP environment. Available tools:

  • publish_page — publish HTML/Markdown/text/ZIP files or static folders.
  • upload_asset — upload image/video/font/script/style assets and return public URLs.
  • list_pages — list pages owned by the configured token.
  • update_page — change visibility, private token, slug, or custom domain.
  • delete_page — delete an owned page.