express-mirror

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i express-mirror

Weekly Downloads

7

Version

1.0.2

License

MIT

Unpacked Size

1.46 kB

Total Files

4

Last publish

Collaborators

  • parking-master