{S3,...}{Server,Client}, e.g. for your tests.
CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
test
.gitignore
Cakefile
LICENSE.txt
README.md
index.js
package.json
ssl-cert.pem
ssl-csr.pem
ssl-key.pem

README.md

S3Server

{S3Server} = require 'aws-stuff'

server = new S3Server protocol:'http'   # default: 'https'
server.listen PORT, () ->
  console.log "Listening on #{PORT}..."

S3Client

{S3Client} = require 'aws-stuff'

b = new S3Client {
  bucket:     "takin-mah-bukket"
  key:        "..."
  secret:     "..."
  # Optional:
  customUrl:  "https://localhost:12345"
}

# data: Buffer or string (strings get UTF-8 encoded)
b.put k:"k1", data:"v1", (e) ->

b.get k:"k1", (e, data) ->