mapistry / awss3promisified Goto Github PK
View Code? Open in Web Editor NEWA node module for interacting with Amazon S3. All functions use Bluebird promises.
A node module for interacting with Amazon S3. All functions use Bluebird promises.
This library looks great, thanks!
I don't thing the AWS.config step in https://github.com/Mapistry/awsS3Promisified/blob/master/index.js should be necessary - from http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/node-configuring.html
Remember, if you set your AWS credentials in the shared credentials file or via environment variables, the AWS SDK for Node.js will automatically detect them, and you will not need to perform any manual credential configuration in your application.
Hi, I get error while uploading the file to server. filepath error: TypeError: path must be a string or Buffer
aws.putFile(bucket, key, filepath);
Here what is the filepath. I mean which path we need to mention? or can we skip the filepath. like only mentioning bucket and key.
Hi,
I am using aws.getSignedURL(bucket, key);
to get image as url. But the url expires after 8 hours as mentioned in the librarry. So can we remove expiration?. can we make the url like no expiration. anytime client should able use it. is there possible?
I have tried here setExpirationInSeconds(28800);
chaning the seconds but still did not work.
Rather than setting environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, is there a way to pass them in as parameters?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.