A Node.js wrapper of AWS DynamoDB Local
This is a thin wrapper of the AWS DynamoDB Local. You can start the DynamoDB Local within a Node.js program and easily specify where the database files should be.
Release notes can be found at http://aws.amazon.com/releasenotes/SDK/JavaScript
npm install local-dynamo
From command line:
$ node bin/launch_local_dynamo.js --database_dir=/database/dir --port=4567
or inside a Node.js application:
localDynamo = require('local-dynamo')
localDynamo.launch('/database/dir', 4567)
If you want to run DynamoDB Local in memory, pass in null
:
localDynamo = require('local-dynamo')
localDynamo.launch(null, 4567)
Here is a list of the versions DynamoDB Local that local-dynamo
uses.
0.0.1
--dynamodb_local_2013-09-12
0.0.2
--dynamodb_local_2014-01-08
0.0.3
--dynamodb_local_2014-04-24
0.0.4
--dynamodb_local_2014-10-07
0.0.5
--dynamodb_local_2015-01-27