Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including doodad-js-xml with all npm packages installed. Try it out:

"use strict"; require('sax'); // Force load const modules = {}; require('doodad-js-io').add(modules); require('doodad-js-xml').add(modules); require('doodad-js').createRoot(modules) .then(root => { const xml = root.Doodad.Tools.Xml; // NOTE: Random songs return xml.parse("<songs><song><title>Another Me In Lack'ech</title><artist>Epica</artist></song><song><title>Silent Lucidity</title><artist>Queensryche</artist></song><song><title>One</title><artist>Metallica</artist></song></songs>"); }) .then(doc => { console.log(doc); }) .catch(err => { console.error(err); });

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

doodad-js-xml v3.3.0

XML Parser

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free