Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@amaui/aws
Advanced tools
AWS
Very simple code Modern code Junior friendly Typescript Made with :yellow_heart:
yarn add @amaui/aws
Add @aws-sdk/client-s3
peer dependency.
yarn add @aws-sdk/client-s3
import AmauiAws from '@amaui/aws';
// Make if you wanna a config file and
// inside of it add all the process.env related props
import Config from './config';
// Make a new aws instance
const amauiAws = new AmauiAws({
s3: {
bucketName: Config.aws.s3.bucketName,
credentials: {
accessKeyId: Config.aws.s3.accessKeyId,
secretAccessKey: Config.aws.s3.secretAccessKey
},
endpoint: Config.aws.s3.endpoint,
region: Config.aws.s3.region
}
});
// Add
await amauiAws.s3.add('a', 4);
// Get
await amauiAws.s3.get('a');
// 4
// Remove
await amauiAws.s3.remove('a');
await amauiAws.s3.get('a');
// undefined
Install
yarn
Test
yarn test
Install docker and docker-compose
Install aws
Make docker containers
yarn docker
Build
yarn build
FAQs
AWS utils
We found that @amaui/aws demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.