@mhlabs/dynamodb-client
TypeScript icon, indicating that this package has built-in type declarations

3.3.1 • Public • Published

dynamodb-client

A library simplifying working with dynamodb client in aws sdk v3.

Integration tests

The integration tests are not automated or part of the build (yet...). To run them locally, make sure to have docker installed and then:

docker run -v $(pwd)/data:/data -p 8000:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -sharedDb -dbPath /data

npm run integration-tests

To avoid having the data folder be created in different places, creating a folder like ~/dynamo and a script in it like below, and then starting the db by running the script will keep everything within that folder.

#!/bin/sh
docker run -v $(pwd)/data:/data -p 8000:8000 amazon/dynamodb-local -jar DynamoDBLocal.jar -sharedDb -dbPath /data

Dependencies (2)

Dev Dependencies (12)

Package Sidebar

Install

npm i @mhlabs/dynamodb-client

Weekly Downloads

0

Version

3.3.1

License

ISC

Unpacked Size

124 kB

Total Files

31

Last publish

Collaborators

  • mhlabs