Node.js SDK for Sirv S3
https://s3.sirv.com No account yet? Create one freeShort answer
Use the AWS SDK for Node.js with the endpoint s3.sirv.com and the S3 bucket, key and secret from your Sirv account settings. Sirv storage is S3 compatible, so the SDK can upload, download, copy, move, rename and delete files, create folders and read image meta. The Sirv REST API is another option with more methods.
After reading this you will know
- How to connect the AWS SDK for Node.js to Sirv
- What you can do with your Sirv files from Node.js
- When to use the Sirv REST API instead
If your website or app uses Node.js, you can upload and manage the files in your Sirv S3 bucket via the AWS SDK for Node.js:
AWS SDK
Section titled “AWS SDK”Before using the SDK, you should connect to your Sirv bucket.
Use the SDK to:
- Upload files
- Download files
- Query a folders’ contents
- Check if a file exists
- Fetch image meta data (Exif)
- Create folders
- Move files
- Copy files
- Rename files
- Delete file
If you would like Node.js code samples to perform the functions above, please contact the Sirv support team.
REST API
Section titled “REST API”Instead, you might prefer to use the Sirv REST API to upload, download, search files and perform many other account functions.
