Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bpmn-i18n-moddle

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpmn-i18n-moddle

Moddle schema for bpmn-i18n

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
30
decreased by-23.08%
Maintainers
1
Weekly downloads
 
Created
Source

bpmn-i18n-moddle

CI

Read and write BPMN 2.0 diagram files with bpmn-i18n extension in NodeJS and the browser.

Usage

import BpmnModdle from 'bpmn-moddle';
import BpmnI18nSchema from 'bpmn-i18n-moddle/resources/bpmn-i18n.json';

const moddle = new BpmnModdle({ i18n: BpmnI18nSchema });

const translation = moddle.create('i18n:Translation', { 'xml:lang': 'de', body: 'Startereignis' });

const extensionElements = moddle.create('bpmn:ExtensionElements', {
  values: [ translation ]
});

console.log(extensionElements.get('values'));

Resources

Building the Project

To run the test suite that includes XSD schema validation you must have a Java JDK installed and properly exposed through the JAVA_HOME variable.

Execute the tests via:

npm test

Perform a complete build of the application via:

npm run all

License

Use under the terms of the MIT license.

Keywords

FAQs

Package last updated on 23 Nov 2021

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc