apigw-vtl-emulator
Version:
JavaScript VTL engine for AWS API Gateway mapping templates - works in both Node.js and browsers
30 lines • 625 B
TypeScript
/**
* Util Functions - Implementation of $util functions for AWS API Gateway VTL
*/
export declare class UtilFunctions {
/**
* Escape JavaScript string
*/
escapeJavaScript(input: any): string;
/**
* Base64 encode
*/
base64Encode(input: any): string;
/**
* Base64 decode
*/
base64Decode(input: any): string;
/**
* Parse JSON string
*/
parseJson(jsonString: any): any;
/**
* URL encode
*/
urlEncode(input: any): string;
/**
* URL decode
*/
urlDecode(input: any): string;
}
//# sourceMappingURL=util-functions.d.ts.map