{"library":"express-force-https","type":"library","category":null,"description":"express-force-https is an Express.js middleware designed to automatically redirect all incoming HTTP requests to their HTTPS equivalent. First published over a decade ago, its current (and only) stable version is 1.0.0. The middleware specifically checks if a request is already secure; if not, it issues a redirect. A key feature is its built-in exemption for `localhost` requests, preventing redirects during local development. Due to its age and lack of updates, it is considered abandoned and may not be suitable for modern Express applications, especially those deployed behind reverse proxies or load balancers which require specific `X-Forwarded-Proto` header handling. Alternative, more actively maintained solutions are generally recommended for production environments.","language":"javascript","status":"abandoned","version":"1.0.0","tags":["javascript","express,","middleware,","https,","force"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-force-https","imports":["const secure = require('express-force-https');"]},{"cmd":"yarn add express-force-https","imports":[]},{"cmd":"pnpm add express-force-https","imports":[]}],"homepage":null,"github":"https://github.com/njam3/express-force-https","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-force-https","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-force-https/compatibility"}}