image-steam-awss3

1.0.6 • Public • Published

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.

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

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')
;

Readme

Keywords

none

Package Sidebar

Install

npm i image-steam-awss3

Weekly Downloads

2

Version

1.0.6

License

MIT

Unpacked Size

7.36 kB

Total Files

4

Last publish

Collaborators

  • asilvas