2.6.0 • Published 13 days ago

pico-s3 v2.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

Pico S3

npm version

A super lightweight S3 client that doesn't require the aws sdk. Be sure to 🌟 this repository for updates!

Installation

> npm i pico-s3

Example

const p3 = new PicoS3({
    provider: process.env.PICO_S3_CLOUD_PROVIDER,
    region: process.env.PICO_S3_REGION,
    bucket: process.env.PICO_S3_BUCKET,
    accessKeyId: process.env.PICO_S3_ACCESS_KEY_ID,
    secretAccessKey: process.env.PICO_S3_SECRET_ACCESS_KEY,
    // With MiniIO, an API host must also be added. For example
    //host: "http://127.0.0.1:9000"
});

const URL = await p3.upload({
    file: dataUrl,
    filename: "cool new file"
})
2.5.0

13 days ago

2.4.0

13 days ago

2.6.0

13 days ago

2.2.0

1 year ago

2.1.0

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago