{"library":"express-cors","type":"library","category":null,"description":"A lightweight middleware for Express.js (versions 0.x to 3.x) that enables Cross-Origin Resource Sharing (CORS) by adding appropriate HTTP headers. Version 0.0.3 is the latest and final release; the package has been abandoned in favor of the more popular 'cors' package. It allows configuration of allowed origins with flexible patterns (including scheme, subdomain, and port wildcards), as well as custom methods, headers, and max age. No longer maintained and incompatible with Express 4+ due to internal API changes and missing CORS preflight handling for non-simple requests.","language":"javascript","status":"abandoned","version":"0.0.3","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-cors","imports":["const cors = require('express-cors')","require('express-cors')","const cors = require('express-cors')"]},{"cmd":"yarn add express-cors","imports":[]},{"cmd":"pnpm add express-cors","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-cors","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-cors/compatibility"}}