UNPKG

@enter-at/lambda-handlers

Version:

An opinionated Typescript package that facilitates specifying AWS Lambda handlers including input validation, error handling and response formatting.

7 lines (6 loc) 245 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cors = void 0; const header_1 = require("../../header"); const cors = (origin, credential) => new header_1.CORSHeader(origin, credential); exports.cors = cors;