1.6.3 • Published 11 months ago

@brighter/storage-adapter-s3 v1.6.3

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@brighter/storage-adapter-s3

This is an S3 object storage adapter for the @brighter/storage library that comes pre-bundled with all the required S3 dependencies.

Quick Start

Installation, using npm:

npm i @brighter/storage-adapter-s3

Usage:

import { Storage } from '@brighter/storage-adapter-s3'

const config = { path: 'my-bucket' }
const configClient = { region: 'eu-central-1' }

const storage = Storage(config, configClient)

const main = async () => {
  await storage.write('msg', 'hi')
  const msg = await storage.read('msg')
  console.log(msg)
}

main().catch(console.error)

For more information:

1.5.5

11 months ago

1.6.3

11 months ago

1.5.4

11 months ago

1.6.2

11 months ago

1.6.1

11 months ago

1.6.0

11 months ago

1.5.9

11 months ago

1.5.8

11 months ago

1.5.7

11 months ago

1.5.6

11 months ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago