diagram-js
A toolbox for displaying and modifying diagrams on the web
diagram-js@15.28.1 was published on 2026-10-07. Its manifest declares 9 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is *.
All diagram-js versions · Permanent reference to 15.28.1
Package specifications
| Version | 15.28.1 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-07T13:03:06.099Z |
| Node.js requirement | * |
| Type declarations | Bundled declarations |
| Runtime dependency count | 9 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1119.78 KiB |
| Published file count | 674 |
| Package type | Not declared |
| ES module entry | lib/Diagram.js |
| Default entry | lib/Diagram.js |
| Side effects declaration | ["*.css"] |
| Direct advisories | 0 |
| Resolved graph dependencies | 12 |
| Repository stars | 1928 |
| Repository forks | 451 |
Install diagram-js 15.28.1
npm install diagram-js@15.28.1 pnpm add diagram-js@15.28.1 yarn add diagram-js@15.28.1
Runtime dependencies
- clsx ^2.1.1
- didi ^11.0.0
- min-dom ^5.3.0
- min-dash ^5.1.0
- tiny-svg ^4.1.4
- object-refs ^0.4.0
- inherits-browser ^0.1.0
- path-intersection ^4.1.0
- @bpmn-io/diagram-js-ui ^0.2.4
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.
- @bpmn-io/diagram-js-ui@0.2.4 — direct
- clsx@2.1.1 — direct
- didi@11.0.1 — direct
- domify@3.0.0 — indirect
- htm@3.1.1 — indirect
- inherits-browser@0.1.0 — direct
- min-dash@5.1.0 — direct
- min-dom@5.3.0 — direct
- object-refs@0.4.0 — direct
- path-intersection@4.2.1 — direct
- preact@10.29.8 — indirect
- tiny-svg@4.1.4 — direct
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 | 3/10 — Found 8/25 approved changesets -- score normalized to 3 |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 2/10 — dependency not pinned by hash detected -- score normalized to 2 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 1/10 — branch protection is not maximal on development and all release branches |
| Security-Policy | 10/10 — security policy file detected |
| SAST | 10/10 — SAST tool is run on all commits |
Evidence and freshness
- https://registry.npmjs.org/diagram-js/15.28.1 — retrieved 2026-10-29T12:50:59.408Z
- https://api.deps.dev/v3/systems/npm/packages/diagram-js/versions/15.28.1 — retrieved 2026-10-29T12:50:59.923Z
- https://api.deps.dev/v3/systems/npm/packages/diagram-js/versions/15.28.1:dependencies — retrieved 2026-10-29T12:50:59.957Z
- https://api.deps.dev/v3/projects/github.com%2Fbpmn-io%2Fdiagram-js — retrieved 2026-10-29T12:51:00.136Z