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

agent-filestore

v1.0.1

Published

Agent-first evidence uploads for pull requests and project work.

Readme

FileStore

FileStore publishes immutable evidence files for pull requests and project work. Agents upload directly to private object storage and receive stable raw-file links suitable for screenshots, recordings, PDFs, and text artifacts.

What it does

  • One immutable file and public URL per upload.
  • Private React evidence room grouped by pull request, task, or Inbox.
  • Named API keys for agent attribution and revocation.
  • Direct-to-bucket uploads and short-lived signed downloads.
  • Reversible archive and owner-only permanent purge.

CLI

After the first package release:

bunx agent-filestore@latest auth set <api-key>
bunx agent-filestore@latest upload ./evidence.png
bunx agent-filestore@latest artifacts list

The uploader detects the Git repository, branch, commit, and current GitHub pull request when git and gh are available. Override that context with --pr, --group, --group-url, or --no-pr. Add --json for agent-safe structured output.

Local development

bun install
cp .env.example .env
docker compose up -d
bun run db:migrate
bun run dev

Run the React development server separately when working on the portal:

bun run dev:web

Validation:

bun run check

Service configuration

Required production variables:

  • DATABASE_URL
  • FILESTORE_PUBLIC_BASE_URL
  • FILESTORE_ADMIN_PASSWORD_HASH
  • AWS_ENDPOINT_URL
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_S3_BUCKET_NAME
  • AWS_DEFAULT_REGION

The optional limits and URL lifetimes are documented in .env.example. Generate the owner password hash with Bun rather than storing a plaintext password:

bun -e 'console.log(await Bun.password.hash(process.argv[1]))' 'your-password'

Architecture decisions

The product contract, ADRs, and terminology live under docs/. The production topology is one Bun service, one Postgres service, and one private Railway bucket in Singapore/APAC.