Replace xml2json
alebelcor opened this issue · comments
Alejandro commented
Replace xml2json
with something that doesn't require native compilation.
Like xml2js
or some other package. It can even be a callback-style helper, it can be promisified using pify
.
Once this is done, make sure the added stuff (for compilation) to .travis.yml
is removed.
Alejandro commented
I'm still not happy with the output.
Replace xml2js
with feedme
.
const Feedme = require('feedme');
const parser = new Feedme(true);
parser.write(fs.readFileSync('./rss.xml'));
const json = parser.done();