@tradle/aws-s3-client
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

@tradle/aws-s3-client

TODO: description

Usage

Initialization

import { S3 } from 'aws-sdk'
import { createClient, wrapBucket, wrapBucketMemoized } from '@tradle/aws-s3-client'

const s3 = new S3()
const client = createClient({
  client: s3
})

// you can use the client directly,
// or you can wrap a bucket/folder

const bucket = wrapBucket({ bucket: 'my-bucket-name', client, prefix: 'my/folder' })
// bucket.put/get/del

// see typings/typescript auto-complete for usage

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @tradle/aws-s3-client

Weekly Downloads

0

Version

3.0.1

License

MIT

Unpacked Size

87.2 kB

Total Files

34

Last publish

Collaborators

  • spwilko
  • leichtgewicht
  • genevayngrib
  • tenaciousmv
  • pgmemk