@m1212e/s3minibun
v0.6.0
Published
👶 Tiny & fast S3 client for node and edge computing platforms
Maintainers
Readme
s3minibun | Tiny & fast S3 client optimized for bun.
Fork of https://github.com/good-lly/s3mini optimized for bun. For more documentation, see the original repo.
Installation
npm install @m1212e/s3minibun
yarn add @m1212e/s3minibun
pnpm add @m1212e/s3minibun
bun add @m1212e/s3minibunUsage
import { S3mini, createOptimizedS3mini } from '@m1212e/s3minibun';
//original way of using S3mini
const s3client = new S3mini({
accessKeyId: config.accessKeyId,
secretAccessKey: config.secretAccessKey,
endpoint: config.endpoint,
region: config.region,
});
// or the bun optimized way this package offers over the original
const optimizeds3client = createOptimizedS3mini({
accessKeyId: config.accessKeyId,
secretAccessKey: config.secretAccessKey,
endpoint: config.endpoint,
region: config.region,
})
// ... do something with the clients ...