Neurosis Prevention Mechanism

    image-steam-awss3

    1.0.4 • 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

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

    Keywords

    none

    Install

    npm i image-steam-awss3

    DownloadsWeekly Downloads

    12

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    7.05 kB

    Total Files

    4

    Last publish

    Collaborators

    • asilvas