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

@gallop.software/studio

v2.3.86

Published

Standalone media manager - upload, process, and sync images to CDN

Readme

@gallop.software/studio

Standalone media manager for Gallop templates. Upload, process, and sync images to Cloudflare R2 CDN.

Features

  • Standalone dev server - runs on its own port, doesn't affect your app
  • Upload images with automatic thumbnail generation
  • Browse folders with grid and list views
  • Multi-select for batch operations
  • Push to CDN (Cloudflare R2) with automatic local cleanup
  • Cache purge for custom CDN domains
  • Blurhash generation for image placeholders

Installation

npm install @gallop.software/studio --save-dev

Quick Start

1. Create .env.studio

Create a .env.studio file in your project root:

# Dev site link (opens in new tab from Studio header)
STUDIO_DEV_SITE_URL=http://localhost:3000

# Cloudflare R2 Storage
CLOUDFLARE_R2_ACCOUNT_ID=your_account_id
CLOUDFLARE_R2_ACCESS_KEY_ID=your_access_key
CLOUDFLARE_R2_SECRET_ACCESS_KEY=your_secret_key
CLOUDFLARE_R2_BUCKET_NAME=your_bucket
CLOUDFLARE_R2_PUBLIC_URL=https://your-cdn.example.com

Add .env.studio to your .gitignore.

2. Add script to package.json

{
  "scripts": {
    "studio": "studio"
  }
}

3. Run Studio

npm run studio

Studio opens in your browser on an available port (default 3001).

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | STUDIO_DEV_SITE_URL | No | URL to your dev site (shown as link in header) | | CLOUDFLARE_R2_ACCOUNT_ID | For CDN | Your Cloudflare account ID | | CLOUDFLARE_R2_ACCESS_KEY_ID | For CDN | R2 API access key | | CLOUDFLARE_R2_SECRET_ACCESS_KEY | For CDN | R2 API secret key | | CLOUDFLARE_R2_BUCKET_NAME | For CDN | R2 bucket name | | CLOUDFLARE_R2_PUBLIC_URL | For CDN | Public URL for your R2 bucket or custom domain |

Setting Up Cloudflare R2

  1. Go to Cloudflare Dashboard → R2 → Create bucket
  2. Go to R2 → Manage R2 API Tokens → Create API Token
  3. Copy the Access Key ID and Secret Access Key
  4. Enable public access or set up a custom domain

Metadata

Studio stores image metadata in _data/_studio.json:

{
  "_cdns": ["https://your-cdn.example.com"],
  "/hero.jpg": {
    "o": { "w": 2400, "h": 1600 },
    "b": "LEHV6nWB2yk8pyo0adR*.7kCMdnj",
    "sm": { "w": 300, "h": 200 },
    "md": { "w": 700, "h": 467 },
    "lg": { "w": 1400, "h": 934 },
    "f": { "w": 2400, "h": 1600 },
    "c": 0
  }
}

| Property | Description | |----------|-------------| | o | Original dimensions { w, h } | | b | Blurhash string | | sm/md/lg/f | Thumbnail dimensions (small/medium/large/full) | | c | CDN index (references _cdns array) | | u | Update pending flag (local file overrides cloud) |

License

MIT