
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
View and edit DMN 1.1 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.1 diagrams in the browser:
var xml; // my DMN 1.1 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 10,554 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 0 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.