# @viz-js/viz

> WebAssembly build of Graphviz with a simple wrapper for using it on the web

Latest version **3.31.0** (published 2026-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @viz-js/viz
pnpm add @viz-js/viz
yarn add @viz-js/viz
bun add @viz-js/viz
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.31.0 |
| Published | 2026-09-28 |
| First published | 2023-06-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 4351 |
| Maintainers | mdaines |
| Keywords | graphviz, emscripten |

## Links

- npm: https://www.npmjs.com/package/@viz-js/viz
- Repository: https://github.com/mdaines/viz-js
- Homepage: https://github.com/mdaines/viz-js#readme
- Issues: https://github.com/mdaines/viz-js/issues
- npm.io page: https://npm.io/package/@viz-js/viz

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 3.31.0 (latest) — 2026-09-28
- 3.0.0-pre.1 (next) — 2023-06-13
- 3.30.0 — 2026-09-01
- 3.29.0 — 2026-08-05
- 3.28.0 — 2026-06-03
- 3.27.0 — 2026-05-12
- 3.26.0 — 2026-04-14
- 3.25.0 — 2026-03-05
- 3.24.0 — 2025-12-17
- 3.23.0 — 2025-12-08
- 3.22.0 — 2025-12-01
- 3.21.0 — 2025-11-17
- 3.20.0 — 2025-10-06
- 3.19.0 — 2025-09-24
- 3.18.0 — 2025-09-22
- … 25 more at https://npm.io/package/@viz-js/viz/versions

## README

# Viz.js

This project builds [Graphviz](http://www.graphviz.org) with [Emscripten](https://emscripten.org) and provides a wrapper for using it in Node or on the web.

## Install

Viz.js is published on NPM as [`@viz-js/viz`](https://www.npmjs.com/package/@viz-js/viz).

## API

[API Reference](https://viz-js.com/api/#viz)

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