{"library":"express-force-https-schema","type":"library","category":null,"description":"Configurable Express middleware that forces HTTPS based on the X-Forwarded-Proto header, commonly used behind proxies like Heroku, AWS ELB, and Nginx. Version 1.0.3 is the latest stable release (last updated 2018, in maintenance mode). It uses a header-based check rather than direct protocol detection, making it suitable for load-balanced or containerized environments. Unlike similar middleware (e.g., express-sslify), it provides options to skip certain user agents and disable the check via an enabled flag.","language":"javascript","status":"maintenance","version":"1.0.3","tags":["javascript","express","https","aws","heroku","x-forwarded-proto","force"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install express-force-https-schema","imports":["import forceHttpsSchema from 'express-force-https-schema'","app.use(forceHttpsSchema({ enabled: true }))","import type { Options } from 'express-force-https-schema'"]},{"cmd":"yarn add express-force-https-schema","imports":[]},{"cmd":"pnpm add express-force-https-schema","imports":[]}],"homepage":"https://github.com/kilhage/express-force-https-schema#readme","github":"ssh://git@github.com/kilhage/express-force-https-schema","docs":null,"changelog":null,"pypi":null,"npm":"express-force-https-schema","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}