g4-xpdl-to-json
v1.0.7
Published
Transform XPDL to json format for SDK diagrams
Readme
XPDL to JSON
Promise to transform XPDL to json format for SDK diagrams
Table of Contents
Prerequisites
This module comes with the following dependencies
- jquery - ^2.1.4
- jsdom - ^3.0.0
- underscore - ^1.8.3
- xml2json - ^0.9.0
Installation
Package installation
> npm install @intelisis/g4-xpdl-to-jsonUsage
Initialize
lib = require @intelisis/g4-xpdl-to-json
lib.transform(xpdl).then (json) ->
# it worksAPI
transform(xpdl)
Function to transform an xpdl file to json format
xpdl
Type: xml XML to transform
Tests
How to run the unit tests
> npm install
> gulp testLicense
Copyright (C) 2016 Intelisis Software, S.A. de C.V. - All Rights Reserved
Unauthorized copying or distributing of this repository, project or any part of it, via any medium is strictly prohibited
Proprietary and confidential
