Skip to content

dpjanes/iotdb-xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iotdb-xml

XML POP functions

Basic Usage

All the action is in xml.convert, which converts self.document into self.json

const _ = require("iotdb-helpers")
const fs = require("iotdb-fs")
const xml = require("iotdb-xml")

_.promise()
    .then(fs.read.utf8.p("document.xml"))
    .then(xml.convert)
    .make(sd => {
        console.log(JSON.stringify(sd.json, null, 2))
    })

Releases

No releases published

Packages

No packages published