{"library":"js2xmlparser","type":"library","category":null,"description":"js2xmlparser is a Node.js module that converts JavaScript objects into XML. It is currently in its stable version 5.0.0 and has a consistent release cadence with significant updates in major versions. The library specializes in parsing JSON-type objects, arrays, and primitive data types, but also supports native JavaScript objects like `Date` and `RegExp` by leveraging their `toString` methods. A key differentiator is its explicit support for ES2015 `Map` and `Set` objects, enabling ordered XML element generation where standard JSON objects would not guarantee it. It also features robust handling of XML-specific constructs such as attributes (using an `@` property), mixed content (using a `#` property), and multiple elements with the same name (through arrays), alongside pretty-printing capabilities.","language":"javascript","status":"active","version":"5.0.0","tags":["javascript","convert","converter","js","json","object","objects","parse","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install js2xmlparser","imports":["import { parse } from 'js2xmlparser';","const js2xmlparser = require('js2xmlparser');","import type { Options } from 'js2xmlparser';"]},{"cmd":"yarn add js2xmlparser","imports":[]},{"cmd":"pnpm add js2xmlparser","imports":[]}],"homepage":null,"github":"https://github.com/michaelkourlas/node-js2xmlparser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/js2xmlparser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/js2xmlparser/compatibility"}}