Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A simple wrapper around AWS's official aws-sdk Node.JS module
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
DynamoDB.md
README.md
SES.md
SQS.md
package.json

README.md

Simple AWS

Amazon have released an official aws-sdk module for Node.JS - this is fantastic! However, interfacing with it is very verbose. This module is an attempt to wrap the AWS library up in very thin wrapper functions to make it easier to interface with.

Stability

UNSTABLE: Haven't even implemented a test suite yet - please do feel free to jump in and submit one!

Usage

var simpleAWS = require('simple-aws');
var ddb = new simpleAWS.DynamoDB();

ddb.getItem(tableName, hashValue, function(err, res, item){});

All methods of ddb are simple wrappers around AWS' official methods, helping to protect against misspelled object keys/etc. It uses type inference to figure out your intention, so ensure passed arguments are of the correct type!

Dynamic argument lists are parsed using the very simple [dynargs][] library.

Supported APIs

  • DynamoDB - 9 methods supported
  • SQS - 5 methods supported
  • SES - 1 methods supported

Contributions

The wrapper functions are very simple (and hopefully consistent), so if an API you need is missing feel free to implement it yourself and submit a pull request.

There's no test suite yet - if you fancy making one that would be much appreciated!

License

MIT license

Something went wrong with that request. Please try again.