npm install json-to-dynamoConvert JSON to a DynamoDB-friendly representation.
``js
var convert = require('json-to-dynamo');
var obj = {
foo: true,
bar: {
baz: null
}
};
convert(obj);
//=> { foo: { BOOL: true }, bar: { M: { baz: { NULL: true } } } }
``
MIT