Gathering detailed insights and metrics for @opd/g2plot-react
Gathering detailed insights and metrics for @opd/g2plot-react
Gathering detailed insights and metrics for @opd/g2plot-react
Gathering detailed insights and metrics for @opd/g2plot-react
npm install @opd/g2plot-react
Typescript
Module System
Node Version
NPM Version
TypeScript (98.85%)
JavaScript (0.55%)
FreeMarker (0.32%)
Shell (0.28%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
81 Stars
1,174 Commits
13 Forks
1 Branches
4 Contributors
Updated on Jul 07, 2025
Latest Version
2.13.5
Package Id
@opd/g2plot-react@2.13.5
Unpacked Size
103.20 kB
Size
15.33 kB
File Count
155
NPM Version
10.9.2
Node Version
23.4.0
Published on
Dec 18, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
3
32
G2Plot for React
npm install @opd/g2plot-react
1import React, { useRef } from 'react' 2import { LineChart, LineChartProps } from '@opd/g2plot-react' 3 4const config: LineChartProps = { 5 height: 350, 6 autoFit: true, 7 xField: 'year', 8 yField: 'value', 9 smooth: true, 10 meta: { 11 value: { 12 max: 15, 13 }, 14 }, 15 data: [ 16 { year: '1991', value: 3 }, 17 { year: '1992', value: 4 }, 18 { year: '1993', value: 3.5 }, 19 { year: '1994', value: 5 }, 20 { year: '1995', value: 4.9 }, 21 { year: '1996', value: 6 }, 22 { year: '1997', value: 7 }, 23 { year: '1998', value: 9 }, 24 { year: '1999', value: 11 }, 25 ], 26} 27 28export default () => { 29 const chartRef = useRef() 30 return <LineChart {...config} chartRef={chartRef} /> 31}
All config defined in G2Plot
document can be used as props
npm install
npm run build
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
SAST tool is run on all commits
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
project is not fuzzed
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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