UNPKG

serverless-offline-edge-lambda

Version:

A plugin for the Serverless Framework that simulates the behavior of AWS CloudFront Edge Lambdas while developing offline.

14 lines 385 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toResultResponse = void 0; function toResultResponse(value) { return { status: '200', statusDescription: '', headers: {}, bodyEncoding: 'text', body: value }; } exports.toResultResponse = toResultResponse; //# sourceMappingURL=to-result-response.js.map