Giter Site home page Giter Site logo

node-simple-aws's Introduction

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 [aws-sdk]: http://aws.amazon.com/sdkfornodejs/

node-simple-aws's People

Contributors

benjie avatar

Stargazers

David Konsumer avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

konsumer

node-simple-aws's Issues

Feature: Promises

I'd love it if this returned promises, instead of requiring a callback. This is fairly simple with util.promisify. This would also make the async unit-tests really nice & simple (no await new Promise, just await). If there is interest, I can implement it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.