How to use xmlbuilder2 - 1 common examples

To help you get started, we’ve selected a few xmlbuilder2 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github PretendoNetwork / SOAP / src / xml-middleware.js View on Github external
request.on('end', () => {
			try {
				request.body = xmlParser(body);
				request.body = request.body.toObject();
			} catch (error) {
				return next();
			}

			next();
		});
	} else {

xmlbuilder2

An XML builder for node.js

MIT
Latest version published 11 months ago

Package Health Score

78 / 100
Full package analysis

Popular xmlbuilder2 functions