1.0.7 • Published 7 years ago

g4-xpdl-to-json v1.0.7

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
7 years ago

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-json

Usage

Initialize

lib = require @intelisis/g4-xpdl-to-json
lib.transform(xpdl).then (json) ->
  # it works

API

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 test

License

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