UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

8 lines (7 loc) 251 B
import { convertToNative } from "./convertToNative"; export const unmarshall = (data, options) => { if (options?.convertWithoutMapWrapper) { return convertToNative(data, options); } return convertToNative({ M: data }, options); };