0.2.14 • Published 12 years ago
dynamo v0.2.14
dynamo
This is a node.js binding for the DynamoDB service provided by Amazon Web Services. It currently supports the entire DynamoDB API in an unsugared (read: Amazon-flavored (read: ugly)) format. I'll be adding a more comfortable API over the coming week to make DynamoDB operations more node-ish, so stay tuned.
Goals
- Use travis-ci's continuous integration testing for reliability
- Abstract DynamoDB's implementation, but not its tradeoffs/philosophy
- Be to DynamoDB what @mranney's excellent node_redis is to Redis
Example
var dynamo = require("dynamo") // name pending, unfortunately
, db = dynamo.createClient()
// the current API is unsugared, mirrors the DynamoDB API...
db.listTables({}, function(err, data) {
if (err) return console.warn(err)
var name, names = data.TableNames
while (name = names.shift()) {
console.log("table: " + name)
}
})
// but an additional, more node-friendly API is in the works.
// this is a theoretical example of what i have in mind:
db.tables.forEach(function(err, name, next) {
if (err) return console.warn(err)
console.log("table: " + name)
if (next) next() // use connect-style continuations for batching
})
Copyright
Copyright (c) 2012 Jed Schmidt. See LICENSE.txt for details.
Send any questions or comments here.
0.2.14
12 years ago
0.2.13
12 years ago
1.0.1
12 years ago
0.2.12
12 years ago
0.2.11
12 years ago
0.2.10
12 years ago
0.2.9
12 years ago
0.2.8
12 years ago
0.2.7
12 years ago
0.2.6
12 years ago
0.2.5
12 years ago
0.2.4
12 years ago
0.2.3
12 years ago
0.2.2
12 years ago
0.1.4
12 years ago
0.1.3
12 years ago
0.1.2
12 years ago
0.1.1
12 years ago
0.0.1
12 years ago