
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
View and edit DMN 1.3 diagrams in the browser.
Use the library pre-packaged or include it via npm into your node-style web-application.
To get started, create a dmn-js instance and render DMN 1.3 diagrams in the browser:
var xml; // my DMN 1.3 xml
var viewer = new DmnJS({
container: 'body'
});
viewer.importXML(xml, function(err) {
if (err) {
console.log('error rendering', err);
} else {
console.log('rendered');
}
});
Checkout our examples for more supported usage scenarios.
You may attach or detach the viewer dynamically to any element on the page, too:
var viewer = new DmnJS();
// attach it to some element
viewer.attachTo('#container');
// detach the panel
viewer.detach();
dmn-js builds on top of a few additional powerful tools:
Use under the terms of the bpmn.io license.
FAQs
A dmn toolkit and web modeler
The npm package dmn-js receives a total of 24,805 weekly downloads. As such, dmn-js popularity was classified as popular.
We found that dmn-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?

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.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.