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

utcli

v0.1.1

Published

An unofficial uploadthing cli tool

Readme

Logo UTCLI - An unofficial uploadthing cli tool

About

This project aims to broaden the uses for uploadthing, by exposing it's REST API through a cli tool. It can be used to upload, list, and delete files inside your uploadthing project. It's primary use case is for creating a rolling CDN, which you can read more about below.

Commands

| Command | Options | Purpose | Example | | ------- | ---------------------------------- | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | | Upload | <files...> --manifest <path> | Uploads files to the project in parallel, optionally recording the uploads to a manifest | npx utcli upload image.png image.jpeg --manifest manifest.json | | List | --offset <count> --limit <count> | Lists all files currently in the project | npx utcli list --offset 20 --limit 10 | | Delete | <keys...> | Deletes all the files specified as keys | npx utcli delete a0sDw0d2hE4eIgpIHPNbTjxrwPKzsCt9f5Y7J4yOW2XE1ac0 a0sDw0d2hE4em8aeirVWPf5d0MJIz67eyki9jEYp2XCFHqrB | | Clean | --confirm --keep-manifest <path> | Deletes every file in the project, except those included in the keep-manifest | npx utcli clean --keep-manifest manifest.json --confirm |

Authentication

Running any commands that interface with the uploadthing API will fail if an UPLOADTHING_TOKEN isn't available in your environment. To make it available, run export UPLOADTHING_TOKEN=<...>, or add it to you application CI/CD.

Rolling CDN Pattern

With UTCLI, you can easily setup what I call a 'rolling CDN'. As part of your application's build step, run npx utcli upload <static files> --manifest manifest.json. This uploads all of your static files to your uploadthing project. Your application can then link to them, or serve redirects to them, using the manifest file. Finally, to make the system 'rolling', we need to delete the static files from the last build. This can be done using npx utcli clean --keep-manifest manifest.json --confirm.