dynamodb-value
Convert javascript object into dynamodb schema and back. This is a simplified version of a more complete solution: official sdk from aws
This module does not support data types that are not native to javascript
var DynamoDBValue = var jsObj = str: '1439057466535' num: 123 obj: z: '1' list: '123' b: '2' var ddbObject = str: S: '1439057466535' num: N: '123' obj: M: z: S: '1' list: L: S: '123' M: b: S: '2' DynamoDBValue // deeply equal jsObj DynamoDBValue // deeply equal ddbObject
MIT © ironSource