A wrapper for AWS DynamoDB Local, intended for use in testcases. Will automatically download the files needed to run DynamoDb Local.
npm install dynamodb-local --save-dev
Then in node:
var DynamoDbLocal = require('dynamodb-local');
DynamoDbLocal.launch(dynamoLocalPort, null, ['-sharedDb']); //if you want to share with Javascript Shell
//Do your tests
DynamoDbLocal.stop(8000);
See AWS DynamoDB Docs for more info on how to interact with DynamoDB Local.