Making updates to DynamoDB tables can be time consuming. It’s necessary to update basic JS objects to new formats that mirror DynamoDB records. I created an NPM package to simplify the process of conversion to and from Dynamo records, as well as the process of creating params for putItem & batchItemWrite requests.
https://www.npmjs.com/package/dynamodb-converter
Examples & documentation @ Github