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

@furystack/s3-blob-store

v1.0.0

Published

S3-compatible adapter for the @furystack/blob-store primitive (AWS S3, MinIO, R2, B2, GCS-S3)

Readme

@furystack/s3-blob-store

S3-compatible adapter for @furystack/blob-store. Targets AWS S3, MinIO, Cloudflare R2, Backblaze B2, and any backend that speaks the v3 S3 API. v1 uses single-part PutObject for uploads (5 GiB cap on AWS S3). Apps with very-large blobs that need resumable multipart can compose @aws-sdk/lib-storage's Upload themselves on the underlying client; v1.x will lift this into a multipart-aware put variant. Presigned URLs ride on @aws-sdk/s3-request-presigner.

Installation

yarn add @furystack/s3-blob-store

The adapter has hard dependencies on the matching @aws-sdk/* v3 packages — they are listed as regular dependencies, not peers, so they install transitively.

Usage

The caller owns the S3Client lifecycle; the adapter never closes it.

import { S3Client } from '@aws-sdk/client-s3'
import { BlobStore } from '@furystack/blob-store'
import { defineS3BlobStore } from '@furystack/s3-blob-store'

const client = new S3Client({
  region: 'eu-central-1',
  credentials: { accessKeyId, secretAccessKey },
})

injector.bind(
  BlobStore,
  defineS3BlobStore({
    client,
    bucket: 'my-app-blobs',
    keyPrefix: 'tenant-a/',
  }),
)

Lifecycle management

By default, on first put, the adapter installs a bucket lifecycle rule that aborts incomplete multipart uploads after 24h to avoid runaway storage costs from interrupted clients. Disable with manageLifecycle: false (recommended for buckets the app lacks s3:PutLifecycleConfiguration on). Surface failures via onLifecycleError.

Capabilities

  • presignedUrls: true
  • multipart: false (v1 — single-part PutObject only)
  • range: true
  • crossNodeAccessible: true
  • maxObjectBytes: 5 GiB (AWS S3 single-part cap)

Integration tests

The package ships unit tests against a stubbed S3Client plus an integration suite that requires a reachable MinIO (or any S3-compatible) endpoint. The repo's root docker-compose.yml exposes one on http://localhost:9000. Run locally via:

docker compose up -d
yarn vitest run --project Service packages/s3-blob-store

Override the endpoint and credentials with MINIO_URL, MINIO_ACCESS_KEY, MINIO_SECRET_KEY when targeting a different backend.