WXML parser and serializer.
npm i @vivaxy/wxml --save
or yarn add @vivaxy/wxml
const wxml = require('@vivaxy/wxml');
const parsed = wxml.parse('<view></view>');
wxml.traverse(parsed, function visitor(node, parent) {
console.log(node);
});
const serialized = wxml.serialize(parsed);