
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
dynamodb-local
Advanced tools
A wrapper for AWS DynamoDB Local, intended for use in testcases. Will automatically download the files needed to run DynamoDb Local.
You can optionally override the download URL from where it fetches the installation archive as well as the target directory to which it will install the binaries (default is your system's temp folder).
Install the module as development dependency by running
npm install dynamodb-local --save-dev
Then in node, write your test script like this:
const DynamoDbLocal = require('dynamodb-local');
const dynamoLocalPort = 8000;
DynamoDbLocal.launch(dynamoLocalPort, null, ['-sharedDb']) //if you want to share with Javascript Shell
.then(function () {
// do your tests
DynamoDbLocal.stop(dynamoLocalPort);
});
Alternatively if you wish to use this as detached server like this:
const DynamoDbLocal = require('dynamodb-local');
const dynamoLocalPort = 8000;
const child = await DynamoDbLocal.launch(dynamoLocalPort, null, [], false, true); // must be wrapped in async function
// do your tests
await DynamoDbLocal.stopChild(child); // must be wrapped in async function
Another example which also shows how to override the installer configuration can be found in examples/simple.js.
See AWS DynamoDB Docs for more info on how to interact with DynamoDB Local.
FAQs
A wrapper for AWS DynamoDB Local, intended for use in testcases
The npm package dynamodb-local receives a total of 39,111 weekly downloads. As such, dynamodb-local popularity was classified as popular.
We found that dynamodb-local demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.