Socket
Socket
Sign inDemoInstall

@bpmn-io/add-exporter

Package Overview
Dependencies
0
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
681
decreased by-14.34%
Maintainers
2
Install size
5.29 kB
Created
Weekly downloads
 

Changelog

Source

0.2.0

  • FEAT: provide add exporter functionality as standalone utility

Readme

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

Last updated on 19 Dec 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc