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

@sirup/cli

v0.1.0

Published

Deploy anything instantly — no auth required. npx sirup deploy .

Readme

Sirup CLI

Deploy anything instantly from the command line — no auth required.

npx sirup deploy .

Install

# Use directly (no install needed)
npx sirup deploy .

# Or install globally
npm install -g sirup

Commands

sirup deploy [directory]

Deploy a directory to sirup.gg. No account needed.

sirup deploy .
sirup deploy ./my-app --name my-dashboard
sirup deploy . --framework react

Flags:

  • -n, --name <name> — Display name for the drop
  • -f, --framework <framework> — Override auto-detection

What it does:

  1. Zips the directory (respects .gitignore and .sirupignore)
  2. Uploads to POST /v1/deploy
  3. Streams build logs in real-time (SSE)
  4. Prints the live URL + claim token
  5. Saves claim token to ~/.sirup/tokens.json

sirup status <slug>

Check the status of a drop.

sirup status k7x9m

sirup logs <slug>

Stream logs from a running drop.

sirup logs k7x9m                    # Runtime logs, follow mode
sirup logs k7x9m --no-follow        # Print and exit
sirup logs k7x9m --type build       # Build logs
sirup logs k7x9m --type access      # HTTP access logs
sirup logs k7x9m --tail 50          # Last 50 lines

Flags:

  • --follow / --no-follow — Live stream or print and exit (default: follow)
  • --tail <n> — Number of lines from end (default: 200)
  • --type <type>runtime, build, or access (default: runtime)

sirup claim <slug>

Claim ownership of a drop.

sirup claim k7x9m --token ct_a8f29c3e...
sirup claim k7x9m    # Uses saved token from ~/.sirup/tokens.json

sirup delete <slug>

Delete a drop.

sirup delete k7x9m
sirup delete k7x9m --yes    # Skip confirmation

sirup list

List your owned drops (requires login).

sirup list

sirup login / logout / whoami

sirup login      # GitHub device flow auth
sirup logout     # Clear saved credentials
sirup whoami     # Show current user

File Ignoring

The CLI automatically excludes these from deploys:

  • node_modules/, .git/, .env, __pycache__/, dist/, build/
  • .next/, .nuxt/, .cache/, coverage/, .venv/, venv/
  • .DS_Store, Thumbs.db, *.pyc

Add a .sirupignore file for custom patterns (same format as .gitignore).

Token Storage

  • Claim tokens: ~/.sirup/tokens.json
  • Auth session: ~/.sirup/auth.json

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | SIRUP_API_URL | https://api.sirup.gg | API base URL (for local dev) |

GitHub Secrets Required

Set these in repo Settings → Secrets → Actions:

| Secret | What it is | |--------|-----------| | NPM_TOKEN | npm access token (Automation type) |

CI/CD

Push a version tag triggers npm publish:

npm version patch    # bumps version in package.json
git push --tags      # triggers CI → npm publish

Project Structure

src/
├── index.js                 # CLI entry (commander)
├── commands/
│   ├── deploy.js            # Zip + upload + SSE build logs
│   ├── status.js            # Fetch + display drop info
│   ├── claim.js             # Claim with saved/provided token
│   ├── logs.js              # SSE log streaming with color
│   ├── delete.js            # Delete with confirmation prompt
│   ├── list.js              # Table of owned drops
│   └── login.js             # GitHub device flow + logout + whoami
└── util/
    ├── api.js               # API client, token storage (~/.sirup/)
    └── zip.js               # Archiver with .gitignore/.sirupignore support