1.0.2 • Published 2 years ago

express-mirror v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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