0.1.6 • Published 13 years ago

s4 v0.1.6

Weekly downloads
5
License
-
Repository
-
Last release
13 years ago

super simple storage solution client

Super high level wrapper client for Amazon S3.

Why?

Wanted something cleaner to quickly fuck around w/ S3 without diving into lower level and more verbose http business. Especially decent in the terminal. If you want to be close to the metal I suggest Knox and/or just using Mikeals Request.

Install

npm install s4

Usage

var config = {key:'', secret:'', bucket:'io.brian.photos', folder:'funny'}
,   photos = require('s4').create(config)
,   pic    = require('path').join(__dirname, 'funny.jpg')

photos.save(pic, function(err, key) {
    console.log('key to pic: ' + key)
})

API

create(config)

save(path, callback)

keys(callback)
keys(options, callback)

all(callback)
all(options, callback)

nuke(callback)

destroy(callback)
0.1.6

13 years ago

0.1.5

13 years ago

0.1.4

13 years ago

0.1.3

13 years ago

0.1.2

13 years ago

0.1.1

13 years ago

0.1.0

13 years ago