MCPcopy Index your code
hub / github.com/balderdashy/skipper-s3

github.com/balderdashy/skipper-s3 @v0.6.0-8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.6.0-8 ↗ · + Follow
3 symbols 9 edges 5 files 1 documented · 33% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

skipper emblem - face of a ship's captain S3 Blob Adapter

NPM version     Build Status

S3 adapter for receiving upstreams. Particularly useful for handling streaming multipart file uploads from the Skipper body parser.

Installation

$ npm install skipper-s3 --save

Also make sure you have skipper itself installed as your body parser. This is the default configuration in the Sails framework.

Usage

req.file('avatar')
.upload({
  // Required
  adapter: require('skipper-s3'),
  key: 'thekyehthethaeiaghadkthtekey',
  secret: 'AB2g1939eaGAdesoccertournament',
  bucket: 'my_stuff',
  // Optional
  token: 'temporary_sts_creds'
}, function whenDone(err, uploadedFiles) {
  if (err) {
    return res.serverError(err);
  }
  return res.ok({
    files: uploadedFiles,
    textParams: req.params.all()
  });
});

For more detailed usage information and a full list of available options, see the Skipper docs, especially the section on "Uploading to S3".

Contribute

See ROADMAP.md.

Also be sure to check out ROADMAP.md in the Skipper repo.

To run the tests:

git clone git@github.com:balderdashy/skipper-s3.git
cd skipper-s3
npm install
KEY=your_aws_access_key SECRET=your_aws_access_secret BUCKET=your_s3_bucket npm test

Please don't check in your aws credentials :)

License

MIT © 2013, 2014-

Mike McNeil, Balderdash & contributors

See LICENSE.md.

This module is part of the Sails framework, and is free and open-source under the MIT License.

image_squidhome@2x.png

githalytics.com alpha

Core symbols most depended-on inside this repo

_stripKeysWithUndefinedValues
called by 5
index.js
_buildS3Client
called by 4
index.js
_uploadFile
called by 1
index.js

Shape

Function 3

Languages

TypeScript100%

Modules by API surface

index.js3 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add skipper-s3 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page