Hey, thanks for writing this, it looks super useful and I plan to try it to address some issues with backing up files I don't have space to make a giant tarball out of on disk before sending them to S3.
Re: the problem of distributing tests, I solved this in another module that employs S3. I just require that certain environment variables be set, and read those from process.env.
Another way is to require a .gitignored file at the start of your tests, and provide a .example version of that file to show folks how to present their credentials correctly. Since it is .gitignored your credentials never wind up in the repo.
Hey, thanks for writing this, it looks super useful and I plan to try it to address some issues with backing up files I don't have space to make a giant tarball out of on disk before sending them to S3.
Re: the problem of distributing tests, I solved this in another module that employs S3. I just require that certain environment variables be set, and read those from process.env.
Another way is to require a .gitignored file at the start of your tests, and provide a .example version of that file to show folks how to present their credentials correctly. Since it is .gitignored your credentials never wind up in the repo.
Cheers!