https://github.com/ttorynn/browser-upgrade
A simple redirect website that notifies IE users to upgrade to a modern-day browser
https://github.com/ttorynn/browser-upgrade
Last synced: 2 months ago
JSON representation
A simple redirect website that notifies IE users to upgrade to a modern-day browser
- Host: GitHub
- URL: https://github.com/ttorynn/browser-upgrade
- Owner: zahtec
- License: isc
- Created: 2021-10-22T04:04:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-27T02:08:00.000Z (over 4 years ago)
- Last Synced: 2025-01-28T13:49:06.498Z (over 1 year ago)
- Language: Pug
- Homepage:
- Size: 1.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Browser Upgrade
A simple Express middleware program that notifies Internet Explorer users to upgrade to a modern-day browser.
## Usage
Install with `npm i express-browser-upgrade`, then use in your code as follows:
```js
/* JavaScript */
const express = require('express');
const browserUpgrade = require('express-browser-upgrade');
/* TypeScript */
import express from 'express';
import browserUpgrade from 'express-browser-upgrade';
/* Use as middleware */
const app = express();
app.use(browserUpgrade);
```
Any users on Internet Explorer will be shown a page telling them to upgrade to a modern browser.