Gathering detailed insights and metrics for lxx-react-img-editor
Gathering detailed insights and metrics for lxx-react-img-editor
npm install lxx-react-img-editor
Typescript
Module System
Node Version
NPM Version
76.3
Supply Chain
90.7
Quality
75.2
Maintenance
100
Vulnerability
100
License
TypeScript (88.57%)
Less (8.74%)
JavaScript (2.68%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
492
Last Day
5
Last Week
9
Last Month
18
Last Year
390
MIT License
109 Stars
114 Commits
19 Forks
3 Watchers
5 Branches
2 Contributors
Updated on Feb 21, 2025
Minified
Minified + Gzipped
Latest Version
0.2.2
Package Id
lxx-react-img-editor@0.2.2
Unpacked Size
293.89 kB
Size
31.96 kB
File Count
87
NPM Version
9.5.1
Node Version
18.16.0
Published on
Nov 30, 2023
Cumulative downloads
Total Downloads
Last Day
0%
5
Compared to previous day
Last Week
80%
9
Compared to previous week
Last Month
28.6%
18
Compared to previous month
Last Year
282.4%
390
Compared to previous year
react-img-editor 是一个图像编辑器 react 组件,支持对图片进行裁剪、涂鸦、文字编辑、马赛克处理等操作,同时支持自定义插件和灵活的样式配置。
查看 demo
npm install react-img-editor -S
import ReactImgEditor from 'react-img-editor'
import 'react-img-editor/assets/index.css'
<ReactImgEditor src="https://www.w3schools.com/html/img_girl.jpg" />
属性 | 描述 | 类型 | 默认值 |
---|---|---|---|
src | 图片 url | string | - |
width | 画板宽度 | number? | 700 |
height | 画板高度 | number? | 500 |
style | 画板样式 | React.CSSProperties | - |
plugins | 自定义的插件 | Plugin[] | [] |
toolbar | 工具栏配置 | { items: string[] } | {items: ['pen', 'eraser', 'arrow', 'rect', 'circle', 'mosaic', 'text', ' |
getStage | 获取 KonvaJS 的 Stage 对象,可用于下载图片等操作 | (stage: any) => void | |
defaultPluginName | 默认选中的插件名称 | string? | - |
crossOrigin | 处理跨域图片 | string? | - |
开发
npm run start
http://127.0.0.1:8012/examples/simple.html
发布
npm run lint
npm run pub
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 1/28 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
85 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-10
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More