UNPKG

@middy/http-cors

Version:

CORS (Cross-Origin Resource Sharing) middleware for the middy framework

71 lines (70 loc) 1.48 kB
{ "name": "@middy/http-cors", "version": "3.3.2", "description": "CORS (Cross-Origin Resource Sharing) middleware for the middy framework", "type": "module", "engines": { "node": ">=14" }, "engineStrict": true, "publishConfig": { "access": "public" }, "main": "./index.cjs", "module": "./index.js", "exports": { ".": { "import": { "types": "./index.d.ts", "default": "./index.js" }, "require": { "types": "./index.d.ts", "default": "./index.cjs" } } }, "types": "index.d.ts", "files": [ "index.js", "index.cjs", "index.d.ts" ], "scripts": { "test": "npm run test:unit", "test:unit": "ava", "test:benchmark": "node __benchmarks__/index.js" }, "license": "MIT", "keywords": [ "Lambda", "Middleware", "Serverless", "Framework", "AWS", "AWS Lambda", "Middy", "CORS", "Cross-Origin Resource Sharing" ], "author": { "name": "Middy contributors", "url": "https://github.com/middyjs/middy/graphs/contributors" }, "repository": { "type": "git", "url": "github:middyjs/middy", "directory": "packages/http-cors" }, "bugs": { "url": "https://github.com/middyjs/middy/issues" }, "homepage": "https://middy.js.org", "gitHead": "5fcd6655e7f076615c2dcb877a36f6c4fc3164d3", "dependencies": { "@middy/util": "3.3.2" }, "devDependencies": { "@middy/core": "3.3.2" } }