1.0.6 • Published 1 year ago

image-steam-awss3 v1.0.6

Weekly downloads
5
License
MIT
Repository
github
Last release
1 year ago

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'
});
OptionTypeDefaultInfo
regionstringrequiredAWS Region of S3 bucket
bucketstringrequiredUnique name of S3 bucket
pathPrefixstring''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')
;
1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago