@the-/s3

15.5.19 • Public • Published

@the-/s3

npm Version

S3 upload helper

Installation

$ npm install @the-/s3 --save

Usage

'use strict'

const { TheS3 } = require('@the-/s3')

async function tryExample() {
  const s3 = new TheS3({
    accessKeyId: 'xxxxx',
    bucket: 'myBucket01',
    region: 'ap-northeast-1',
    secretAccessKey: 'xxxxxxxxx',
    signatureVersion: 'v4',
  })

  await s3('some-text.txt', {})
}

tryExample().catch((err) => console.error(err))

API Guide

See API Guide for more detail

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i @the-/s3

Weekly Downloads

3

Version

15.5.19

License

MIT

Unpacked Size

11.4 kB

Total Files

7

Last publish

Collaborators

  • okunishinishi