Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

i-painter

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i-painter

> 简化 Canvas 渲染逻辑为初心的轻量级插件。

  • 1.0.0-beta.4
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

i-Painter

简化 Canvas 渲染逻辑为初心的轻量级插件。

  • 解决了那些问题?

解决了那些问题?

  • 解决移动端 PX 转 REM 后的适配问题
  • 解决了不同设备像素比海报生成模糊的问题
  • 简化 Canvas 的开发流程

应用场景

  • 简单的 Canvas 绘制的需求,譬如生成海报等功能

未来构想

  • 当前框架处于 Bate 阶段,需要不断完善,希望做最简单的轻量级的 Canvas 插件

起步

下载安装:

npm install --save i-painter

示例

<!-- index.html -->
<script src="xx/xx/i-painter.js"></script>
<script>
  let Pen = new Painter(el);
</script>
import Painter from "i-painter";
let Pen = new Painter(el);

[JSAPI]

当前仅为测试版本,谨慎使用,敬请期待!

Keywords

FAQs

Package last updated on 11 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc