s3-readstream
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "s3-readstream", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Drop in AWS S3 replacement read stream", | ||
@@ -5,0 +5,0 @@ "main": "dist/S3Readstream.js", |
@@ -25,2 +25,8 @@ # s3-readstream | ||
}); | ||
const bucketParams = { | ||
Bucket: s3Env.bucket, // S3 Bucket Path | ||
Key: s3Env.key // S3 file | ||
}; | ||
// Check the headobject like normal to get the length of the file | ||
@@ -62,2 +68,2 @@ s3.headObject(bucketParams, (error, data) => { | ||
You can test this stream in an [example HD video app](https://github.com/about14sheep/awsstreaming) and read a [blog on its origins](https://dev.to/about14sheep/streaming-data-from-aws-s3-using-nodejs-stream-api-and-typescript-3dj0). | ||
You can test this stream in an [example HD video streaming app](https://github.com/about14sheep/awsstreaming) and read a [blog on its origins](https://dev.to/about14sheep/streaming-data-from-aws-s3-using-nodejs-stream-api-and-typescript-3dj0). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8848
68