Use AWS S3 as a database for objects with Node.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

#s3store Build Status

Use AWS S3 as a database for objects.

##Documentation ###createClient(options)

var createClient = require('s3store');
var options = {
  key: 'aws_key',
  secret: 'aws_secret',
  bucket: 'mybucket',
  region: 'eu-west-1',
  namespace: 'mydb'
};
var client = createClient(options);

###client.writeObject(key, object, cb) Write an object with the given key.

###client.readObject(key, cb) Read an object.

###client.deleteObject(key, cb) Delete an object.

###client.readKeys(cb) Read all keys.