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

@bpmn-io/add-exporter

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bpmn-io/add-exporter

Add exporter meta-data to BPMN, CMMN and DMN diagrams

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
968
increased by44.48%
Maintainers
2
Weekly downloads
 
Created
Source

@bpmn-io/add-exporter

Build Status

Plugs into your favorite BPMN, DMN and CMMN editor and adds the exporter and exporterVersion meta-data to saved diagrams.

Usage

import BpmnModeler from 'bpmn-js/lib/Modeler';

import AddExporter from '@bpmn-io/add-exporter';


// extend the BPMN editor with the exporter module
var modeler = new BpmnModeler({
  exporter: {
    name: 'my-tool',
    version: '120-beta.100'
  },
  additionalModules: [
    AddExporter
  ]
});


// see the meta-data appear on save
modeler.saveXML(function(err, xml) {

  xml; // ... <bpmn:Definitions ... exporter="my-tool" exporterVersion="120-beta.100">...
});

License

MIT

Keywords

FAQs

Package last updated on 19 Dec 2018

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