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%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
284,584
Last Day
244
Last Week
1,157
Last Month
5,046
Last Year
54,191
MIT License
82 Stars
1,118 Commits
14 Forks
1 Branches
4 Contributors
Updated on Mar 10, 2025
Minified
Minified + Gzipped
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
11.9%
244
Compared to previous day
Last Week
12.3%
1,157
Compared to previous week
Last Month
0.1%
5,046
Compared to previous month
Last Year
-44.5%
54,191
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
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
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
Found 0/2 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
13 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-03-03
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