1.0.0 • Published 7 years ago

dynamo-merge v1.0.0

Weekly downloads
19
License
MIT
Repository
github
Last release
7 years ago

dynamo-merge

Build Status NPM Version

Installation

yarn add dynamo-merge # or npm install dynamo-merge --save

Usage

import merge from "dynamo-merge"

const result = await documentClient.update({
    TableName: "users",
    Key: {email},
    ...merge(updatedUserAttributes),
})

Look at test.js for example use cases and the expected output.

Tests

To run tests, use

yarn test # or npm test

License

MIT

1.0.0

7 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago