wallet-core/node_modules/xml2js/text.coffee
2016-11-03 01:33:53 +01:00

12 lines
213 B
CoffeeScript

fs = require 'fs'
xml2js = require 'xml2js'
parser = new xml2js.Parser
fs.readFile 'canon.xml', (err, data) ->
console.log err
parser.parseString (err, result) ->
console.log err
console.dir result