s3store

0.0.6 • Public • Published

#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.

Readme

Keywords

Package Sidebar

Install

npm i s3store

Weekly Downloads

0

Version

0.0.6

License

BSD

Last publish

Collaborators

  • mirkok