diagram-js 5.1.0
A modeling framework for the web
diagram-js@5.1.0 was published on 2019-10-16. Its manifest declares 9 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All diagram-js versions · Permanent reference to 5.1.0 · Latest release
Package specifications
| Version | 5.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2019-10-16T08:42:31.785Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| 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 | 585.70 KiB |
| Published file count | 207 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | ["*.css"] |
| Direct advisories | 0 |
| Resolved graph dependencies | 13 |
| Repository stars | 1928 |
| Repository forks | 451 |
Install diagram-js 5.1.0
npm install diagram-js@5.1.0 pnpm add diagram-js@5.1.0 yarn add diagram-js@5.1.0
Runtime dependencies
- didi ^4.0.0
- min-dom ^3.0.0
- hammerjs ^2.0.1
- inherits ^2.0.1
- min-dash ^3.5.0
- tiny-svg ^2.2.1
- css.escape ^1.5.1
- object-refs ^0.3.0
- path-intersection ^1.0.2
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.
- component-event@0.1.4 — indirect
- css.escape@1.5.1 — direct
- didi@4.0.0 — direct
- domify@1.4.2 — indirect
- hammerjs@2.0.8 — direct
- indexof@0.0.1 — indirect
- inherits@2.0.4 — direct
- matches-selector@1.2.0 — indirect
- min-dash@3.8.1 — direct
- min-dom@3.2.1 — direct
- object-refs@0.3.0 — direct
- path-intersection@1.1.1 — direct
- tiny-svg@2.2.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/5.1.0 — retrieved 2026-10-31T17:42:37.865Z
- https://api.deps.dev/v3/projects/github.com%2Fbpmn-io%2Fdiagram-js — retrieved 2026-10-31T16:41:35.552Z
- https://api.deps.dev/v3/systems/npm/packages/diagram-js/versions/5.1.0 — retrieved 2026-10-31T17:42:38.257Z
- https://api.deps.dev/v3/systems/npm/packages/diagram-js/versions/5.1.0:dependencies — retrieved 2026-10-31T17:42:38.301Z