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

@daisy-workflow/plugin-s3

v0.1.3

Published

Daisy external plugin — generic S3-compatible storage connector (AWS S3, Wasabi, MinIO, DigitalOcean Spaces, Cloudflare R2, …). One node, bucket + file + folder operations.

Readme

s3 plugin for Daisy-workflow

One Daisy node that talks to any S3-compatible storage service. Tested with AWS S3, Wasabi, MinIO, Cloudflare R2, DigitalOcean Spaces, and Backblaze B2. Modeled on n8n's generic S3 node.

Docker Hub

The action is selected per-node via the operation dropdown.

Operations

| operation | What it does | |---|---| | bucket.getAll | List all buckets the credential has access to. | | bucket.create | Create a new bucket. Sends a LocationConstraint body when region ≠ us-east-1. | | bucket.delete | Delete a bucket (bucket must be empty). | | bucket.search | List objects in a bucket matching a prefix (alias of file.getAll). | | file.getAll | List objects with optional prefix + pagination (continuationToken). | | file.upload | PUT an object. Body can be plain text (utf8) or base64 for binary. | | file.download | GET an object. Body returned as base64 (default) or utf8. | | file.copy | Copy an object from copySource (srcBucket/srcKey) to bucket/key. | | file.delete | Delete an object. | | folder.create | Create a "folder" placeholder (empty object with key ending in /). | | folder.getAll | List "folders" using delimiter (default /) → CommonPrefixes. | | folder.delete | Recursively delete everything under a prefix via bulk MultiObjectDelete. |

Configure auth

Create one generic config on the Configurations page (default name s3):

| Key | Example | Notes | |-------------------|----------------------------------------|----------------------------------------------| | endpoint | https://s3.amazonaws.com | AWS | | endpoint | https://s3.wasabisys.com | Wasabi | | endpoint | http://minio:9000 | MinIO | | endpoint | https://<account>.r2.cloudflarestorage.com | Cloudflare R2 | | region | us-east-1 / eu-central-1 / auto | R2 uses auto | | accessKeyId | … | | | secretAccessKey | … | | | sessionToken | … | Optional, for STS / role-assumed credentials | | forcePathStyle | true | Required for MinIO and most on-prem setups |

A node can override the config name per-call via the config input and the region per-call via the region input — useful if a workspace talks to multiple S3-compatible stores.

Setting file permissions (Wasabi, S3)

Use the acl input on file.upload (or bucket.create / folder.create):

  • private, public-read, public-read-write, authenticated-read
  • bucket-owner-read, bucket-owner-full-control

Wasabi enforces ACLs via the same x-amz-acl header AWS uses. Some buckets have ACLs disabled — in that case Wasabi will return an AccessControlListNotSupported error and you need to manage permissions via bucket policy instead.

Install

docker compose -f docker-compose.yml -f docker-compose.plugins.yml \
  --profile s3 up -d

npm run install-plugin -- --endpoint http://daisy-s3:8080

Per-operation inputs

The manifest declares every input as optional except operation; each handler checks its own required fields and returns a clear error if they're missing.

  • bucket.getAll(none)
  • bucket.createbucket (required), acl
  • bucket.deletebucket (required)
  • bucket.searchbucket (required), prefix, maxKeys, continuationToken
  • file.getAllbucket (required), prefix, maxKeys, continuationToken
  • file.uploadbucket + key (required), body, bodyEncoding (utf8|base64), contentType, metadata, acl
  • file.downloadbucket + key (required), responseEncoding (base64|utf8)
  • file.copybucket + key (dest, required), copySource (srcBucket/srcKey, required)
  • file.deletebucket + key (required)
  • folder.createbucket + folderName (required), acl
  • folder.getAllbucket (required), prefix, delimiter
  • folder.deletebucket + prefix (required) — paginates + bulk-deletes

Shared by every op: config, region, timeoutMs.

Output envelope

{
  "ok":        true,
  "operation": "file.upload",
  "status":    200,
  "result":    { "bucket": "logs", "key": "2026/05/event.json", "size": 412, "etag": "ab12..." },
  "url":       "https://logs.s3.amazonaws.com/2026/05/event.json"
}

Operation-specific result shapes are documented inline in lib/actions.js. A few highlights:

  • bucket.getAll{ owner, buckets: [{ name, creationDate }], count }
  • file.getAll{ bucket, prefix, isTruncated, nextContinuationToken, keyCount, objects: [{ key, lastModified, etag, size, storageClass }] }
  • file.download{ bucket, key, contentType, contentLength, etag, lastModified, encoding, data }
  • folder.delete{ bucket, prefix, deleted, errors }

Auth model — why hand-rolled SigV4?

This plugin signs every request itself with Node's built-in node:crypto (see lib/sigv4.js). That keeps the container image tiny and the dependency surface at exactly one package (the Daisy plugin SDK). The signer is ~150 lines and is verified against AWS's published test vectors during build.

If you ever need features that go beyond the basics — multipart upload, presigned URLs, transfer acceleration, virtual-hosted requester-pays, event subscriptions — the right move is to drop in @aws-sdk/client-s3 and add a new operation that uses it. Don't extend the hand-rolled signer for niche cases.

Files

plugins-external/s3/
├── manifest.json        # node schema (inputs + outputs)
├── index.js             # servePlugin entry, dispatches by operation
├── lib/
│   ├── sigv4.js         # AWS Signature Version 4 signer (no deps)
│   ├── client.js        # auth loader + signed fetch + tiny XML helpers
│   └── actions.js       # one async handler per operation
├── package.json
├── Dockerfile
├── publish-docker.sh
└── README.md

Publish the image

docker login                       # one time, as your Hub user
./publish-docker.sh                # builds + pushes :0.1.0 and :latest, multi-arch

Env overrides: IMAGE=foo/bar, PLATFORMS=linux/amd64, PUSH=0, NO_LATEST=1.