Socket
Book a DemoInstallSign in
Socket

diagram-js

Package Overview
Dependencies
Maintainers
10
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diagram-js

A toolbox for displaying and modifying diagrams on the web

15.3.0
latest
Source
npmnpm
Version published
Weekly downloads
121K
-16.42%
Maintainers
10
Weekly downloads
 
Created
Source

diagram-js

CI

A toolbox for displaying and modifying diagrams on the web.

Built with diagram-js

Some libraries / applications built on top of diagram-js:

Part of bpmn.io

  • bpmn-js - A BPMN 2.0 viewer / modeler (Demo)
  • cmmn-js - A CMMN 1.1 viewer / modeler (Demo)
  • dmn-js - A DMN 1.3 viewer / modeler / table editor (Demo)

External

Resources

Development

Prepare the project by installing all dependencies:

npm install

Then, depending on your use-case you may run any of the following commands:

# build the library and run all tests
npm run all

# run the development setup
npm run dev

# run tests (single run)
npm 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.

License

MIT

Keywords

modeler

FAQs

Package last updated on 22 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.