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

@listen-fire/s3-files

v0.12.6

Published

The files slot's module over S3 (`@lf/s3-files`): lf keeps a run's documents in a bucket of AWS S3, Google Cloud Storage (its S3 interoperability endpoint), Cloudflare R2, MinIO or any S3 compatible service, instead of a container's disk. Served as a proc

Readme

@lf/s3-files

The files slot over an S3 interface bucket. lf keeps the documents a run stores in your bucket instead of the project's .lf/files/ folder, so they survive a container that is replaced.

Works against AWS S3, Google Cloud Storage (its S3 interoperability endpoint), Cloudflare R2, MinIO, and any service that speaks the S3 API.

Install

The lf cloud image (deploy/lf) already carries this module with a ready install entry (s3_files); see its README. Elsewhere:

  1. Install the package into the project's externals folder and keep lf-external.yaml (shipped in the package) beside it, as externals/s3_files/lf-external.yaml.

  2. Name it in lf.yaml:

    core:
      files: s3_files
  3. Run lf connect s3_files to give it its settings. They go to the project's secrets file (or LF_SECRET__S3_FILES__<SETTING> in containers and CI), never into lf.yaml.

Settings

| setting | meaning | |---|---| | bucket | the bucket documents are kept in | | region | the bucket's region (auto for R2; any value such as us-east-1 for MinIO and GCS) | | endpoint | the service's S3 URL; leave empty for AWS | | key_prefix | a folder inside the bucket; leave empty for the bucket's root | | path_style | true to put the bucket in the URL path (MinIO, a bare IP); empty for AWS, GCS and R2 | | access_key_id, secret_access_key | the credentials (secret); leave both empty on AWS to use the machine's own (an IAM role, the environment) |

| service | endpoint | path_style | |---|---|---| | AWS S3 | empty | empty | | Google Cloud Storage | https://storage.googleapis.com (use an HMAC key) | empty | | Cloudflare R2 | https://<account>.r2.cloudflarestorage.com | empty | | MinIO | http://minio:9000 | true |

How documents are kept

  • A put stores the bytes at <key_prefix>/<tenant>/<uuid>/<name> with the content type given, and answers a descriptor whose handle is s3://<bucket>/<key>.
  • Two puts of one name are two documents (the uuid differs).
  • files.owns is true only for the tenant whose folder the key sits in, and only if the object exists. A handle from another bucket, outside the prefix, or shaped any other way is not owned.
  • files.open of a document never stored is refused.
  • Bytes travel base64 inside lf's request (the files slot has no streaming), so a document is held in memory whole.

Tests

pnpm test in this folder runs the slot's conformance kit and every method against a fake S3 service driven by the real S3 client. It does not reach a real bucket.