Gathering detailed insights and metrics for bpmn-js-cli
Gathering detailed insights and metrics for bpmn-js-cli
Gathering detailed insights and metrics for bpmn-js-cli
Gathering detailed insights and metrics for bpmn-js-cli
npm install bpmn-js-cli
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
51 Stars
241 Commits
12 Forks
13 Watching
4 Branches
13 Contributors
Updated on 25 Nov 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
12.5%
1,236
Compared to previous day
Last week
-7.6%
5,937
Compared to previous week
Last month
-17.5%
27,863
Compared to previous month
Last year
484.2%
187,574
Compared to previous year
As of version
1.0.0
this library exposes ES modules. Use an ES module aware bundler such as Webpack or Rollup to bundle it for the browser.
An extensible command line interface for bpmn-js.
Checkout demo.js
for the commands powering this demo.
Out of the box, the cli supports the following commands:
append source type [deltaPos]
connect source target type
create type position parent
element id
elements
move shape delta [newParentId]
undo
redo
save svg|bpmn
setLabel element label
setRoot element|elementId
removeShape shape|elementId
removeConnection connection|connectionId
Get the list of available commands:
cli.help();
Get the list of elements:
cli.elements();
Export SVG or BPMN 2.0 xml
cli.save('svg' || 'bpmn');
Deploy the cli with bpmn-js:
var BpmnModeler = require('bpmn-js/lib/Modeler'),
CliModule = require('bpmn-js-cli');
var modeler = new BpmnModeler({
container: document.body,
additionalModules: [
CliModule
],
cli: {
bindTo: 'cli'
}
});
modeler.importXML('some-bpmn-xml')
.then(({ warnings }) => {
// ...
})
.catch(err => {
console.error(err);
});
Access the cli as cli
in your developer console (open via F12
in most browsers).
Use the cli to model BPMN 2.0 diagrams in your browser. Pain free.
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 1/13 approved changesets -- score normalized to 0
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
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
12 existing vulnerabilities detected
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 More