Gathering detailed insights and metrics for bpmn-js-cli-modeling-dsl
Gathering detailed insights and metrics for bpmn-js-cli-modeling-dsl
Gathering detailed insights and metrics for bpmn-js-cli-modeling-dsl
Gathering detailed insights and metrics for bpmn-js-cli-modeling-dsl
bpmn-js-headless
A headless version of bpmn-js
camunda-bpmn-js
Embeddable Camunda modeling distributions based on bpmn-js
bpmn-js-disable-collapsed-subprocess
bpmn-js extension which disables modeling collapsed subprocess via replace menu
bpmn-js-cli
A command-line interface for bpmn-js
npm install bpmn-js-cli-modeling-dsl
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
23 Stars
26 Commits
1 Forks
7 Watching
1 Branches
1 Contributors
Updated on 19 Apr 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-35.5%
20
Compared to previous day
Last week
12.2%
83
Compared to previous week
Last month
-32.3%
316
Compared to previous month
Last year
472.1%
1,785
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.
A modeling DSL (domain specific language) for bpmn-js, built on top of bpmn-js-cli.
Use the extension for bpmn-js-cli to quickly model simple processes.
To model this process:
simply execute the following command
1cli.model('StartEvent_1 -> and -> service -> user -> icatch -> xor -> or -> ithrow -> end');
You may use the full classified name of any BPMN element such as bpmn:ServiceTask
, too to model it.
A number of aliases are registered for most commonly modeled BPMN elements:
1var aliases = { 2 service: 'bpmn:ServiceTask', 3 user: 'bpmn:UserTask', 4 manual: 'bpmn:ManualTask', 5 task: 'bpmn:Task', 6 end: 'bpmn:EndEvent', 7 transaction: 'bpmn:Transaction', 8 sub: 'bpmn:SubProcess', 9 call: 'bpmn:CallActivity', 10 icatch: 'bpmn:IntermediateCatchEvent', 11 ithrow: 'bpmn:IntermediateThrowEvent', 12 xor: 'bpmn:ExclusiveGateway', 13 or: 'bpmn:InclusiveGateway', 14 and: 'bpmn:ParallelGateway' 15};
Use any of the aliases instead of the full qualified BPMN name.
Deploy the cli-extension with bpmn-js:
1import BpmnModeler from 'bpmn-js/lib/Modeler'; 2import ModelingDslModule from 'bpmn-js-cli-modeling-dsl'; 3 4var modeler = new BpmnModeler({ 5 additionalModules: [ 6 ModelingDslModule 7 ], 8 cli: { 9 bindTo: 'cli' 10 } 11}); 12 13modeler.importXML('some-bpmn-xml');
Access the cli as cli
in your developer console (open via F12
in most browsers).
Create a simple process from <start>
via
1cli.model('<start> -> and -> service -> user -> icatch -> xor -> or -> ithrow -> end');
MIT
No vulnerabilities found.
Reason
no vulnerabilities detected
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
update tool detected
Details
Reason
security policy file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 9
Details
Reason
GitHub code reviews found for 4 commits out of the last 26 -- score normalized to 1
Details
Reason
0 commit(s) out of 26 and 0 issue activity out of 1 found in the last 90 days -- score normalized to 0
Reason
no badge detected
Reason
branch protection not enabled on development/release branches
Details
Reason
non read-only tokens detected in GitHub workflows
Details
Reason
project is not fuzzed
Score
Last Scanned on 2022-08-15
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