express-http2https

redirects http request to https using express

Usage no npm install needed!

<script type="module">
  import expressHttp2https from 'https://cdn.skypack.dev/express-http2https';
</script>

README

About

Simple middleware that redirects http request to https using express

Install

npm i express-http2https

Usage

const express = require('express');
const http2https = require('express-http2https');

const app = express();

app.use(http2https());