node.js client for Amazon's DynamoDB
Dynode is a node.js driver for working with Amazon's DynamoDB service.
$ curl | sh
$ [sudo] npm install dynode
Dynode is designed to be a simple and easy way to work with Amazon's DynamoDB service. Amazon's http api is complicated and non obvious how to interact with it. This driver aims to offer a simplified more obvious way of working with DynamoDB, but without getting in your way or limiting what you can do with DynamoDB.
There are two different ways to use dynode: directly via the default dynamoDB client, or by instantiating your own client. The former is merely intended to be a convenient shared client to use throughout your application if you so choose.
The default client is accessible through the dynode module directly. Any method that you could call on an instance of a client is available on the default client:
var dynode = require'dynode';dynodeauthaccessKeyId: "AWSAccessKey" secretAccessKey: "SecretAccessKey";dynodecreateTable"NewTable" console.log;dynodelistTablesconsole.log;
If you would prefer to manage your own client, pontentially with different auth params if you want:
var client = new dynodeClientaccessKeyId: "AWSAccessKey" secretAccessKey: "SecretAccessKey";
All tests are written with mocha and should be run with make:
$ make test