@mac-/dynamo-merge

2.0.0 • Public • Published

dynamo-merge

Greenkeeper badge Build Status NPM Version Codacy Badge

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    0
    • latest

Version History

Package Sidebar

Install

npm i @mac-/dynamo-merge

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

5.75 kB

Total Files

4

Last publish

Collaborators

  • mac-