html2canvas-proxy

Cross-origin content proxy for html2canvas

Usage no npm install needed!

<script type="module">
  import html2canvasProxy from 'https://cdn.skypack.dev/html2canvas-proxy';
</script>

README

html2canvas-proxy

Gitter Build Status NPM Downloads NPM Version

Express middleware proxy for html2canvas

This library provides proxy middleware using express for html2canvas.

For html2canvas >=v1.0.0 use >= v1.0.0 of this library.

Install

npm install html2canvas-proxy --save

Example

var proxy = require('html2canvas-proxy');
var express = require('express');

var app = express();
app.use('/', proxy());