I'd like to create a file, specifically a text file with a stringified JSON object, in the browser and then upload it to my Amazon S3 account. Is there an existing library I can use for this? If not, how do I actually do this? I've uploaded clients' files to S3 before, but never created one on the fly.
Cheers.