
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@am92/aws-s3
Advanced tools
$ npm install --save @am92/aws-s3
The following environment variables need to be set to work with this package:
##### AWS S3 SDK Config
export S3_ENABLED='false'
export S3_REGION='ap-south-1'
export S3_BUCKET=''
export S3_PRESIGNED_EXPIRY_IN_SECS='300'
export S3_CLOUDFRONT_URL=''
Note:
import { S3Sdk } from '@am92/aws-s3'
const s3Sdk = new S3Sdk()
export default s3Sdk
In this case, configuration values are read from environment variables.
If you wish to pass your custom 'config' to OtpSdk Class, then you can build it as follows:
import { S3Sdk } from '@am92/aws-s3'
const config = {
BUCKET: '',
PRESIGNED_EXPIRY_IN_SECS: 300,
CONNECTION_CONFIG: {
region: ''
}
}
const s3Sdk = new S3Sdk(config)
export default s3Sdk
In this case, configuration values are defaulted from environment variables. Thus partial config can be passed to the S3Sdk Class.
Ankit Gandhi |
Mehul Agarwal |
FAQs
AWS S3 SDK
The npm package @am92/aws-s3 receives a total of 2 weekly downloads. As such, @am92/aws-s3 popularity was classified as not popular.
We found that @am92/aws-s3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.