New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dynamo-entity-manager

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamo-entity-manager

Entity manager for Amazon DynamoDB NoSQL database

latest
Source
npmnpm
Version
2.5.1
Version published
Maintainers
1
Created
Source

Dynamo Entity Manager

A entity manager for AWS Dynamo. It's a class that tracks some entities loaded from dynamo data base (or created to be persisted in that data base), and that when flushing, it persist the state change in that data base.

Use cases:

  • Helps managing the persistence with the Dynamo API.
  • Helps when you want to persist all the changes at once. Ideally the persist should be transactional, but Dynamo does not allow it. You have te take care of making the services as small as posible, and managing possible persisting errors.

Prerequisites

Requires aws-sdk package (if executed in AWS Lambda, it is already installed). For transactional flush, aws-sdk should be included in your lambda, as installed in cloud is an old version.

npm install --save-dev aws-sdk

npm scripts

Build the js files from typescript:

npm run build

Running tests:

npm run test

Running style check:

npm run style

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the ISC License - see the LICENSE.md file for details

Keywords

aws

FAQs

Package last updated on 06 Sep 2021

Did you know?

Socket

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.

Install

Related posts