1.0.0 • Published 2 years ago
dom-to-html v1.0.0
dom-to-html
Convert a dom element including canvas and svg to an html.
Installation
$ npm i dom-to-html
Usage
import { domToHTML } from 'dom-to-html';
const html = domToHTML(domElement);
This method will render SVG to canvas and copy all the resulting graphics as base64 url encoded img.
License
1.0.0
2 years ago