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/blob-store

v1.0.0

Published

Transport-agnostic large-binary storage primitive for FuryStack

Readme

@furystack/blob-store

Transport-agnostic primitive for storing and retrieving large binaries ("blobs") by string key. Provides the BlobStore interface, an in-memory adapter for tests, and the capability matrix the FuryStack task runner uses to refuse multi-node misconfigurations at boot. Concrete production adapters ship in their own packages (@furystack/filesystem-blob-store, @furystack/s3-blob-store).

See docs/internal/distributed-task-management.md for the full design.

Installation

npm install @furystack/blob-store
# or
yarn add @furystack/blob-store

Usage

The default factory throws BlobStoreNotConfiguredError. Apps must bind a backing adapter before resolving the token. For tests, bind InMemoryBlobStore directly.

import { createInjector } from '@furystack/inject'
import { BlobStore, InMemoryBlobStore } from '@furystack/blob-store'

await using injector = createInjector()
injector.bind(BlobStore, () => new InMemoryBlobStore({ name: 'tests' }))

const store = injector.get(BlobStore)
const ref = await store.put('greeting.txt', Buffer.from('hello'))
const { stream, contentLength } = await store.get(ref.key)

Capabilities

Every adapter declares a static BlobStoreCapabilities object so consumers (notably @furystack/task-runner) can fail loudly on incompatible deployment shapes — for example, pairing a multi-node queue with a single-node-only blob store.

| Capability | In-memory | Filesystem | S3-compatible | | --------------------- | --------- | ---------- | ------------- | | presignedUrls | ❌ | ❌* | ✅ | | multipart | ❌ | ❌ | ❌† | | range | ❌ | ❌ | ✅ | | crossNodeAccessible | ❌ | ❌ | ✅ |

* Filesystem adapter exposes server-proxy upload/download endpoints that mimic the presigned-URL flow at the API layer; the capability flag is false because the URL is not transport-direct.

† S3 adapter is single-part PutObject only in v1 (maxObjectBytes 5 GiB); a multipart-aware put variant lands in v1.x. Apps needing resumable multipart can compose @aws-sdk/lib-storage on the underlying client and pass the resulting key back as a BlobRef.

Errors

All errors thrown by adapters are BlobStoreError instances with a code discriminator ('not-found', 'capability-missing', 'too-large', 'invalid-key', 'invalid-config', 'conflict', 'io-error'). Switch on .code to distinguish cases without substring matching on messages.