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

@openagentry/adapter-storage-vercel-blob

v0.1.0-alpha.0

Published

OpenAgentry StorageAdapter implementation for Vercel Blob (via @vercel/blob SDK)

Readme

@openagentry/adapter-storage-vercel-blob

StorageAdapter implementation backed by Vercel Blob via the official @vercel/blob SDK.

Pairs with @openagentry/adapter-host-vercel for projects deployed on Vercel; can also be used standalone with any token-bearing client.

Install

pnpm add @openagentry/adapter-storage-vercel-blob

Quick start

import storage from '@openagentry/adapter-storage-vercel-blob';

const out = await storage.put('uploads/avatar.png', pngBytes, {
  public: true,
  contentType: 'image/png',
});
console.log(out.url); // https://<store>.public.blob.vercel-storage.com/uploads/avatar.png

The default export reads OA_VERCEL_BLOB_TOKEN from process.env lazily on first call. Or construct an adapter explicitly:

import { createVercelBlobStorageAdapter } from '@openagentry/adapter-storage-vercel-blob';

const storage = createVercelBlobStorageAdapter({
  token: process.env.MY_TOKEN!,
  defaultAccess: 'public',
});

Configuration

| Env var | Required | Default | Notes | |---|---|---|---| | OA_VERCEL_BLOB_TOKEN | yes | — | Vercel Blob read-write token (Vercel dashboard → Storage → Blob → Tokens). | | OA_VERCEL_BLOB_DEFAULT_ACCESS | no | private | public or private. PUT-time access default when opts.public is unspecified. | | OA_VERCEL_BLOB_CACHE_MAX_AGE_PUBLIC | no | 31536000 | Seconds. Default cacheControlMaxAge for public uploads. | | OA_VERCEL_BLOB_CACHE_MAX_AGE_PRIVATE | no | 3600 | Seconds. Default cacheControlMaxAge for private uploads. |

We use OA_VERCEL_BLOB_TOKEN (not Vercel's own BLOB_READ_WRITE_TOKEN) to keep adapter env naming consistent with the rest of OpenAgentry. On Vercel, copy the value or remap.

Public vs private blobs

  • Public blobs live at https://<store>.public.blob.vercel-storage.com/<key> and are anonymously fetchable.
  • Private blobs live at https://<store>.private.blob.vercel-storage.com/<key> and require the token to fetch — Vercel does not issue presigned URLs.

Pass { public: true } per call to override the default. The opts.public flag is three-way:

  • true → public
  • false → private
  • undefineddefaultAccess from config

What's NOT in v0

  • Multipart uploads (single PUT only; max object size is whatever Vercel allows for single-PUT, currently 5GB).
  • Streaming uploads (body is ArrayBuffer | Uint8Array | string).
  • opts.meta (Vercel Blob has no custom-metadata field; ignored silently).
  • copy(), conditional writes (ifMatch/ifNoneMatch), client uploads.
  • Range/partial GET reads.

For S3-compatible behavior (custom metadata, presigned URLs, multipart), use @openagentry/adapter-storage-r2.

LLM-facing docs

See LLM.md — the doc shipped to LLM consumers via package.json#openagentry.llmDocs.

License

Apache-2.0