UNPKG

@enter-at/lambda-handlers

Version:

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

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