项目介绍

bubkoo/html-to-image 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 7.3k 个 Star、649 次 Fork。

仓库全名
bubkoo/html-to-image

README 摘要

html-to-image ✂️ Generates an image from a DOM node using HTML5 canvas and SVG. Fork from dom-to-image with more maintainable code and some new features. Install Usage All the top level functions accept a DOM node and rendering options, and return a promise with the requested output: toPng toSvg toJpeg toBlob toCanvas toPixelData Reuse and customization (v2 branch) The existing functions remain the shortest path for…

完整内容见 GitHub 原始 README 或本页 。

常见问题

html-to-image 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 7.3k 个 Star。

html-to-image 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 html-to-image 的源码?

可以直接克隆仓库:git clone https://github.com/bubkoo/html-to-image.git,默认分支为 master;安装与运行步骤见仓库 README。

html-to-image 最近还在维护吗?

仓库最近一次更新为 2 天前,当前有 158 个未关闭 Issue;Star 数为 7.3k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

以下为仓库作者撰写的原始描述。

简要分析

热度分
8606
价值分
4556
活跃状态
活跃

语言占比

CSS
HTML
JavaScript
Python
TypeScript

Release