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

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

    Keywords

    none

    Install

    npm i @tradle/aws-s3-client

    DownloadsWeekly Downloads

    3

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    85.5 kB

    Total Files

    34

    Last publish

    Collaborators

    • leichtgewicht
    • genevayngrib
    • tenaciousmv
    • pgmemk