{"id":21339854,"url":"https://github.com/webextensions/express-redirect-to-https","last_synced_at":"2025-07-12T14:32:42.799Z","repository":{"id":78573223,"uuid":"77214805","full_name":"webextensions/express-redirect-to-https","owner":"webextensions","description":"Express middleware for redirecting \"http\" requests to \"https\" url path","archived":false,"fork":false,"pushed_at":"2022-09-25T09:17:40.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-11T21:56:27.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webextensions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-23T09:31:32.000Z","updated_at":"2022-09-25T08:56:36.000Z","dependencies_parsed_at":"2023-07-11T22:46:49.984Z","dependency_job_id":null,"html_url":"https://github.com/webextensions/express-redirect-to-https","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":0.1428571428571429,"last_synced_commit":"556074f2a56ff94cdc6c38bd9837cbad34b48501"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webextensions%2Fexpress-redirect-to-https","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webextensions%2Fexpress-redirect-to-https/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webextensions%2Fexpress-redirect-to-https/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webextensions%2Fexpress-redirect-to-https/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webextensions","download_url":"https://codeload.github.com/webextensions/express-redirect-to-https/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225825069,"owners_count":17529905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T00:47:45.173Z","updated_at":"2024-11-22T00:47:45.692Z","avatar_url":"https://github.com/webextensions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# express-redirect-to-https\nExpress middleware for redirecting `http` requests to `https` url path.\n\n## Usage\n\n```js\nvar express = require('express');\nvar redirectToHttps = require('express-redirect-to-https');\n\nvar app = express();\n```\n\n```js\napp.use(redirectToHttps());\n\n// OR\n\napp.use(redirectToHttps({\n    httpPort: 3000,\n    httpsPort: 4000\n}));\n\n// OR\n\napp.use(redirectToHttps({\n    httpPort: 3000,\n    httpsPort: 4000,\n    redirectStatus: 307 // Default redirect status is 301\n}));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebextensions%2Fexpress-redirect-to-https","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebextensions%2Fexpress-redirect-to-https","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebextensions%2Fexpress-redirect-to-https/lists"}