Package
@antv/g2
the Grammar of Graphics in Javascript
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 270k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 12
- Direct, from package.json
- Last release
- 8 months ago
- v5.4.8
- GitHub stars
- 12.6k
- 1.7k forks
- Open issues / PRs
- 174 / 8
- Contributors
- -
- Commits, last 52 weeks
- 89
No weekly download data in the snapshot.
269,975 downloads last week, 1,165,187 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 5.4.8, 6 Jan 20268 months ago
- First published
- -
- Last push to GitHub
- 24 Sept 20261 day before the snapshot
- Repository archived
- No
- Open issues
- 174
- Open pull requests
- 8
- Commits, last 52 weeks
- 89
- Dependents on npm
- 335
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 8.4 MB
- Dependencies (12)
flrupdfast@antv/g@antv/expr@antv/util@antv/coord@antv/scale@antv/vendor@antv/g-canvas@antv/component@antv/event-emitter@antv/g-plugin-dragndrop
npm install @antv/g2CDN
jsDelivr: 18.7m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/@antv/g2@5.4.8/ - unpkg
https://unpkg.com/@antv/g2@5.4.8/ - esm.sh
https://esm.sh/@antv/g2@5.4.8
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| liveline | 111.8k | - | 6 months ago | ESM + CommonJS | - |
| react-move | 80.3k | - | 5 years ago | ESM + CommonJS | - |
| konva | 1.9m | - | 1 day ago | ESM only | - |
| super-animejs | 23k | - | 7 years ago | ESM + CommonJS | - |
| canvas-confetti | 6m | - | 11 months ago | ESM + CommonJS | - |
| d3-graphviz | 41.7k | - | 2 years ago | ESM only | - |
| malevic | 18.2k | - | 22 days ago | ESM + CommonJS | - |
| animejs | 746.6k | - | 3 months ago | ESM + CommonJS | - |
Indexability: Indexed.