Gathering detailed insights and metrics for diagram-js
Gathering detailed insights and metrics for diagram-js
Gathering detailed insights and metrics for diagram-js
Gathering detailed insights and metrics for diagram-js
A toolbox for displaying and modifying diagrams on the web.
npm install diagram-js
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,710 Stars
2,568 Commits
418 Forks
56 Watching
40 Branches
52 Contributors
Updated on 25 Nov 2024
Minified
Minified + Gzipped
JavaScript (96.46%)
TypeScript (2.5%)
CSS (1.03%)
Cumulative downloads
Total Downloads
Last day
10.3%
17,993
Compared to previous day
Last week
5%
92,274
Compared to previous week
Last month
6.3%
377,934
Compared to previous month
Last year
25.8%
4,183,751
Compared to previous year
9
27
A toolbox for displaying and modifying diagrams on the web.
Some libraries / applications built on top of diagram-js:
Prepare the project by installing all dependencies:
1npm install
Then, depending on your use-case you may run any of the following commands:
1# build the library and run all tests 2npm run all 3 4# run the development setup 5npm run dev 6 7# run tests (single run) 8npm test
Expose an environment variable TEST_BROWSERS=(Chrome|Firefox)
to execute the tests in a non-headless browser.
[!NOTE] We do not generate any build artifacts. Required parts of the library should be bundled by consuming libraries as needed instead.
MIT
The latest stable version of the package.
Stable Version
2
0/10
Summary
Cross-Site Scripting in diagram-js
Affected Versions
>= 3.0.0, < 3.3.1
Patched Versions
3.3.1
0/10
Summary
Cross-Site Scripting in diagram-js
Affected Versions
< 2.6.2
Patched Versions
2.6.2
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 6/18 approved changesets -- score normalized to 3
Reason
7 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn Morediagram-js-direct-editing
Direct editing support for diagram-js
diagram-js-minimap
A minimap for diagram-js
@bpmn-io/diagram-js-ui
[![CI](https://github.com/bpmn-io/diagram-js-ui/actions/workflows/CI.yml/badge.svg)](https://github.com/bpmn-io/diagram-js-ui/actions/workflows/CI.yml)
diagram-js-grid
A visual grid for diagram-js