
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.
s3-streamer
Advanced tools
Thin wrapper to stream uploads and downloads from Amazon S3, from local filesystem or URLs
Thin wrapper over existing libraries to standardize the interface for streaming uploads and downloads from Amazon S3, from local filesystem or URLs.
import AWS from "aws-sdk";
import S3Stream from 's3-streamer';
let s3 = new AWS.S3();
let s3stream = new S3Stream(s3);
let s3params = { Bucket: "BUCKET", Key: "KEY" };
// upload a string to s3
s3stream.stringToS3("Hello World", s3params).then(function() {
console.log('Uploaded: %s', string);
// do something
s3stream.stringFromS3(s3params).then(function(string) {
console.log('Downloaded: %s', string);
// do something
});
});
s3stream.urlToS3(url, s3params)
Streams the data from a URL to an S3 object without using local storage. Returns a bluebird promise.
s3stream.stringToS3(string, s3params)
Streams a string to an S3 object. Returns a bluebird promise.
s3stream.stringFromS3(s3params)
Streams an S3 object to a string variable. Returns a bluebird promise that resolves with the string.
s3stream.uploadStream(s3params)
Returns a Writable that you can pipe streams to.
s3stream.downloadStream(s3params)
Returns a Readable that you can pipe to other streams.
FAQs
Thin wrapper over existing libraries to standardize the interface for streaming uploads and downloads from Amazon S3. Supports streaming to/from variables or URLs without using the local filesystem.
The npm package s3-streamer receives a total of 0 weekly downloads. As such, s3-streamer popularity was classified as not popular.
We found that s3-streamer 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
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.