# zrender

> A lightweight graphic library providing 2d draw for Apache ECharts

Latest version **6.1.0** (published 2026-05-04) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install zrender
pnpm add zrender
yarn add zrender
bun add zrender
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.1.0 |
| Published | 2026-05-04 |
| First published | 2014-08-29 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6304 |
| Maintainers | ecomfe-core, leeight, gdjinbo, luyuan, ksky521, lang, 100pah, jinzhan, ovilia, gkiwi001, zttonly, okaychen, xdbobname, fuqiang15, ecomfe-admin, kaivean, errorrik, otakustay, justineo, hixuanxuan |
| Keywords | canvas, svg, 2d, html5, vector-graphics |

## Links

- npm: https://www.npmjs.com/package/zrender
- Repository: https://github.com/ecomfe/zrender
- Homepage: https://github.com/ecomfe/zrender#readme
- Issues: https://github.com/ecomfe/zrender/issues
- npm.io page: https://npm.io/package/zrender

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) 2.3.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 6.1.0 (latest) — 2026-05-04
- 6.0.0-rc.1 (rc) — 2025-06-25
- 4.3.3 (v4-stable) — 2024-12-06
- 5.0.0-beta.2 (beta) — 2020-10-26
- 5.0.0-alpha.3 (alpha) — 2020-10-14
- 6.0.0 — 2025-07-23
- 5.6.1 — 2024-12-11
- 5.6.0 — 2024-06-17
- 5.5.0 — 2024-01-30
- 5.4.4 — 2023-07-12
- 5.4.3 — 2023-03-10
- 5.4.2 — 2023-03-09
- 5.4.1 — 2022-11-28
- 5.4.0 — 2022-09-13
- 5.3.2 — 2022-06-09
- … 66 more at https://npm.io/package/zrender/versions

## README

ZRender
=======

A lightweight graphic library which provides 2d draw for [Apache ECharts](https://github.com/apache/echarts).

[![](https://img.shields.io/github/actions/workflow/status/ecomfe/zrender/ci.yml)](https://github.com/ecomfe/zrender/actions) [![](https://img.shields.io/npm/dw/zrender.svg?label=npm%20downloads&style=flat)](https://www.npmjs.com/package/zrender) ![Commits Since 4.0.0](https://img.shields.io/github/commits-since/ecomfe/zrender/4.0.0.svg?colorB=%234c1&style=flat)

## Documentation

[https://ecomfe.github.io/zrender-doc/public/](https://ecomfe.github.io/zrender-doc/public/)


## License

BSD 3-Clause License

Copyright (c) 2017, Baidu Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

## Notice

The Apache Software Foundation [Apache ECharts, ECharts](https://echarts.apache.org/), Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the [Apache Software Foundation](https://www.apache.org/).

---
_Source: https://npm.io/package/zrender · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
