{ 'ideas', 'games', 'me' }.getRandom(); — My Node.js Amazon S3 library has been pushed to GitHub
You can get it at http://github.com/nuxusr/Node.js—-Amazon-S3
Supports http 100-connects, progress % on upload/download, md5 signing, streaming, reduced redundancy, and more… from the README:
What this library is good for:
Send files of any size (although S3 is currently limited at 5 gigs)
- file upload and downloads are streamed with a progress event fired during writes.Minimal memory footprint and very efficient
- Streams files from disk to socket -- using nodes drain/pause/resume to only stream what socket/stream can takeUses net sockets on PUT requests to support 100 Continue (especially usefull for large files)
- the body is only sent after amazon approves the signed headerCreates MD5 of content (optional)
- ensure your data isn't corrupted during transmissionSupports amazons new REDUCED_REDUNDANCY storage (cheaper but less reliable)
- see unit tests for examplesSupports specifying acl
- see unit tests for examples