Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Build Agents and Models on One Platform
Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
xml2js is a Node.js module that converts XML into JavaScript objects (and vice versa). It simplifies XML parsing by using pure JavaScript and supports both synchronous and asynchronous parsing. It’s a lightweight alternative to heavy DOM parsers. You can create one xml2js.Parser per file. That's the recommended one and is promised to always just work. You can call reset() on your parser object. You can hope everything goes well anyway. This behaviour is not guaranteed to work always, if ever.
XMLBuilder‑JS provides a fluent API for building XML in Node.js. You can create elemental structures via method chaining or object literals, include comments, attributes, and streams. It’s the baseline implementation, with xmlbuilder2 available now for modern DOM compliance, namespace handling, and format conversion.