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

@sprigr/cli

v0.1.3

Published

Sprigr Team CLI — deploy static sites and Next.js apps to Sprigr Tenant Hosting from your terminal.

Downloads

924

Readme

@sprigr/cli

Sprigr Team CLI — deploy static sites and Next.js apps to Sprigr Tenant Hosting from your terminal.

Install

npm install -g @sprigr/cli
# or run without installing
npx @sprigr/cli --help

Requires Node.js 20+.

Quick start

# 1. Get an API key from https://team.sprigr.com → Settings → API keys
export SPRIGR_API_KEY=sk_...

# 2. Deploy a static site
sprigr deploy my-site --dir ./public

# 3. Or deploy a Next.js app (built with @opennextjs/cloudflare)
sprigr deploy my-app --dir ./.open-next --framework next

Commands

sprigr deploy <siteId> --dir <dir>

Bundle a directory and deploy it as a new build for the given website.

| Flag | Description | Default | | --- | --- | --- | | --dir <path> | Directory to bundle | required | | --framework <static\|next\|astro\|remix> | Framework hint | static | | --endpoint <url> | API endpoint override | https://api.team.sprigr.com | | --api-key <key> | API key (overrides env) | from SPRIGR_API_KEY |

The CLI streams progress and prints the build id. Use sprigr builds get to follow status, or watch the portal's Builds panel.

sprigr builds list <siteId>

List recent builds for a site.

| Flag | Description | Default | | --- | --- | --- | | --limit <N> | Number of rows | 20 |

sprigr builds get <siteId> <buildId>

Fetch a single build's status, including logs once available.

Environment variables

| Variable | Purpose | | --- | --- | | SPRIGR_API_KEY | Authentication. Create one in the portal. | | SPRIGR_ENDPOINT | API endpoint. Accepts a full URL, or the shortcuts staging / prod. |

How deploys work

  1. The CLI tarballs your --dir (gzip).
  2. It POSTs to the Sprigr Team provisioning worker, which enqueues a build job.
  3. The build farm container picks it up, runs the framework adapter (no-op for static, @opennextjs/cloudflare build for next), and streams output back.
  4. On success the bundle is uploaded to Workers for Platforms for SSR sites or to R2 + website-serve for static, then the site's production deployment pointer flips atomically.

Static sites are billed by request count; SSR sites are billed by request count + container-seconds during the build. Plan limits (max sites, retention, custom domains) are enforced at deploy time.

Roadmap

  • PKCE login (sprigr login) so you don't need to copy an API key from the portal.
  • Binary file support in the bundler (currently text + UTF-8 only).
  • sprigr logs <buildId> --follow for live tailing.

Links

License

MIT