express-mirror
v1.0.2
Published
An NPM package that lets you reflect existing webpages onto your own page.
Downloads
2
Readme
express-mirror
An NPM package that lets you reflect existing webpages onto your own page.
Install
$ npm install express-mirror
Install globally
$ npm install express-mirror -g
Install as project:
$ npm install express-mirror --save
Example
$ npm install express-mirror --save
let mirror = require("express-mirror");
app.get("/", function(req, res) {
mirror(res, "https://example.com");
});
app.listen(8080);
Go to http://localhost:8080, and you'll see https://example.com on your page!
License
MIT