Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 419 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 419 Bytes

Haxe/hxnodejs externs for the dynamodb-data-types npm library

Tested using dynamodb-data-types version 2.1.6

Example:

import js.npm.dynamodb_data_types.AttributeValue;

AttributeValue.wrap({name: "Foo", age: 50});
// {"name":{"S":"Foo"},"age":{"N":"50"}} 

AttributeValue.unwrap({"name":{"S":"Foo"},"age":{"N":"50"}});
// {name: "Foo", age: 50}