@antv/g2 5.0.1
the Grammar of Graphics in Javascript
@antv/g2@5.0.1 was published on 2023-03-29. Its manifest declares 18 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @antv/g2 versions · Permanent reference to 5.0.1 · View npm registry JSON · Latest release
Package specifications
| Version | 5.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2023-03-29T06:21:11.037Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 18 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 5929.77 KiB |
| Published file count | 2614 |
| Package type | Not declared |
| ES module entry | esm/index.js |
| Default entry | lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 56 |
| Repository stars | 12646 |
| Repository forks | 1663 |
Install @antv/g2 5.0.1
npm install @antv/g2@5.0.1 pnpm add @antv/g2@5.0.1 yarn add @antv/g2@5.0.1
Runtime dependencies
- d3-dsv ^3.0.1
- d3-geo ^3.0.1
- @antv/g ^5.7.4
- d3-array ^3.2.2
- d3-force ^3.0.0
- d3-shape ^3.1.0
- @antv/gui ^0.5.0-alpha.8
- d3-format ^3.1.0
- @antv/util ^3.3.2
- d3-voronoi ^1.1.4
- @antv/coord ^0.4.1
- @antv/scale ^0.4.7
- d3-hierarchy ^3.1.2
- @antv/g-canvas ^1.7.4
- @antv/path-util ^3.0.1
- d3-scale-chromatic ^3.0.0
- @antv/event-emitter ^0.1.3
- @antv/g-plugin-dragndrop ^1.6.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @antv/coord@0.4.7 — direct
- @antv/dom-util@2.0.4 — indirect
- @antv/event-emitter@0.1.3 — direct
- @antv/g@5.18.27 — direct
- @antv/g-camera-api@1.2.25 — indirect
- @antv/g-canvas@1.11.29 — direct
- @antv/g-dom-mutation-observer-api@1.2.24 — indirect
- @antv/g-lite@1.2.24 — indirect
- @antv/g-math@2.0.2 — indirect
- @antv/g-plugin-canvas-path-generator@1.3.24 — indirect
- @antv/g-plugin-canvas-picker@1.10.26 — indirect
- @antv/g-plugin-canvas-renderer@1.9.26 — indirect
- @antv/g-plugin-dom-interaction@1.9.24 — indirect
- @antv/g-plugin-dragndrop@1.8.24 — direct
- @antv/g-plugin-html-renderer@1.9.27 — indirect
- @antv/g-plugin-image-loader@1.3.24 — indirect
- @antv/g-web-animations-api@1.2.25 — indirect
- @antv/gui@0.5.0 — direct
- @antv/path-util@3.0.1 — direct
- @antv/scale@0.4.16 — direct
- @antv/util@2.0.17 — indirect
- @antv/util@3.3.11 — direct
- color-name@1.1.4 — indirect
- color-string@1.9.1 — indirect
- commander@7.2.0 — indirect
- csstype@3.2.3 — indirect
- d3-array@3.2.4 — direct
- d3-color@1.4.1 — indirect
- d3-dispatch@3.0.1 — indirect
- d3-dsv@3.0.1 — direct
- d3-force@3.0.0 — direct
- d3-format@3.1.2 — direct
- d3-geo@3.1.1 — direct
- d3-hierarchy@3.1.2 — direct
- d3-interpolate@3.0.1 — indirect
- d3-path@3.1.0 — indirect
- d3-quadtree@3.0.1 — indirect
- d3-scale-chromatic@3.1.0 — direct
- d3-shape@3.2.0 — direct
- d3-timer@3.0.1 — indirect
- d3-voronoi@1.1.4 — direct
- eventemitter3@5.0.4 — indirect
- fast-deep-equal@3.1.3 — indirect
- fecha@4.2.3 — indirect
- gl-matrix@3.4.4 — indirect
- iconv-lite@0.6.3 — indirect
- internmap@2.0.3 — indirect
- is-arrayish@0.3.4 — indirect
- lodash-es@4.18.1 — indirect
- quickselect@2.0.0 — indirect
- rbush@3.0.1 — indirect
- rw@1.3.3 — indirect
- safer-buffer@2.1.2 — indirect
- simple-swizzle@0.2.4 — indirect
- svg-path-parser@1.1.0 — indirect
- tslib@2.9.1 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 5/10 — Found 13/23 approved changesets -- score normalized to 5 |
|---|---|
| Maintained | 4/10 — 3 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 4 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| License | 10/10 — license file detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 10/10 — security policy file detected |
| SAST | 8/10 — SAST tool is not run on all commits -- score normalized to 8 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-02T03:23:46.638Z
- https://api.deps.dev/v3/projects/github.com%2Fantvis%2Fg2 — retrieved 2026-11-02T03:23:06.347Z
- https://api.deps.dev/v3/systems/npm/packages/%40antv%2Fg2/versions/5.0.1 — retrieved 2026-11-02T03:23:46.987Z
- https://api.deps.dev/v3/systems/npm/packages/%40antv%2Fg2/versions/5.0.1:dependencies — retrieved 2026-11-02T03:23:47.024Z