Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
aeris-s3-sync
Advanced tools
Node.js wrapper around the AWS CLI S3 sync command
Why would I use this instead of node-s3-client?
In order to compare files, node-s3-client attempts to reimplement the hashing algorithm used by the AWS API in creating an s3 object's etag. My experience is that is doesn't always work (especially with large files).
This library uses the AWS CLI tool, which -- though it also re-implements the hashing algorithm -- it at least supported by the same team which created the algorithm.
s3-sync also:
const s3Client = S3Client({
accessKeyId: 'testId',
secretAccessKey: 'testKey',
region: 'testRegion'
});
s3Client.sync('s3://my-bucket/foo/bar', '/local/foo/bar', {
// set to `true` to enable the --delete flag
delete: false,
// Accepts a stream.Writable, to which the `s3 sync` stdout will be piped
stdout: process.stdout
// Accepts a stream.Writable, to which the `s3 sync` stderr will be piped
stdout: process.stdout
})
.then(res => {
// res.stdout is the stdout from the `s3 sync` command
// res.stderr is the stderr from the `s3 sync` command
// res.files is an array of downloaded file paths
})
s3Client.sync
also accepts error-first callbacks, for example:
s3Client.sync(from, to, opts, (err, res) => {
// res.stdout is the stdout from the `s3 sync` command
// res.stderr is the stderr from the `s3 sync` command
// res.files is an array of downloaded file paths
});
FAQs
Node.js wrapper around the AWS CLI S3 sync utility
The npm package aeris-s3-sync receives a total of 3 weekly downloads. As such, aeris-s3-sync popularity was classified as not popular.
We found that aeris-s3-sync demonstrated a not healthy version release cadence and project activity because the last version was released 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.