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

image-steam-awss3

v2.0.0

Published

AWS S3 storage client for Image Steam: https://github.com/asilvas/node-image-steam

Readme

image-steam-aws-s3

AWS S3 client for Image Steam. If you're using AWS, you're in the right place. If all you need is an S3-compatible client, check out image-steam-s3.

As of v2 this package is built on the modular @aws-sdk/client-s3 (the deprecated aws-sdk v2 monolith is gone), ships as ESM, and requires Node.js >= 24. Credentials resolve through the standard AWS SDK v3 provider chain (env vars, shared config, IMDS/IRSA, etc).

Options

import isteamAWSS3 from 'image-steam-awss3';

const s3 = new isteamAWSS3({
  region: 'us-west-2',
  bucket: 'isteam',
});

| Option | Type | Default | Info | | -------------- | ---------- | ---------- | ------------------------------------------------------------------- | | region | string | required | AWS Region of S3 bucket | | bucket | string | required | Unique name of S3 bucket | | pathPrefix | string | '' | Prefix of all paths | | endpoint | string | optional | Custom S3 endpoint (S3-compatible stores) | | forcePathStyle | boolean | optional | Use path-style addressing (typically paired with endpoint) | | clientOptions | Object | optional | Additional options forwarded verbatim to the S3Client constructor | | client | S3Client | optional | Bring your own pre-configured client (overrides the options above) |

Usage

Example:

import isteam from 'image-steam';

const options = {
  storage: {
    app: {
      static: {
        driver: 'http',
        endpoint: 'https://some-endpoint.com',
      },
    },
    cache: {
      driverPath: 'image-steam-awss3',
      options: {
        region: 'us-west-2',
        bucket: 'isteam-cache',
      },
    },
  },
};

http
  .createServer(new isteam.http.Connect(options).getHandler())
  .listen(13337, '127.0.0.1');

Changes in v2

This package now lives in the node-image-steam monorepo (the standalone image-steam-aws-s3 repo is archived).

Performance

  • Migrated from aws-sdk v2 (deprecated, maintenance mode) to the modular @aws-sdk/client-s3 v3 -- roughly 10x smaller install, faster startup, and HTTP keep-alive enabled by default, so per-request S3 calls reuse connections instead of paying TLS setup every time.
  • Zero-copy fetches: response bytes are wrapped in a Buffer view rather than copied.
  • store issues a single PutObject instead of v2's managed upload, avoiding multipart negotiation overhead for typical artifact sizes.

Fixes

  • deleteCache applied pathPrefix twice (and in the wrong position), so cache deletes never matched stored artifacts when pathPrefix was set.
  • AWS SDK v3 errors are normalized back onto the err.statusCode contract image-steam expects (NoSuchKey/NotFound map to 404), keeping storage-fallback behavior intact.

Other

  • Rewritten in TypeScript (ESM-only, Node.js >= 24); published as compiled JS with type declarations.
  • New options: endpoint and forcePathStyle for S3-compatible stores, clientOptions forwarded to the S3Client constructor, and client for injecting a pre-configured client.
  • Now covered by unit tests (no network required, via client injection).
  • Object key layout, isteam metadata format, and the driver API are unchanged -- existing buckets continue to work as-is.