NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4666 most downloaded on npm
Parses JavaScript objects into XML
Last release 4 years ago
no release in 18 months
Release timing varies
gaps range from 6 weeks to 2.0 years
Nearly every release is documented
notes for 19 of 19 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
19 releases · first in 2012
Allow typeHandlers to be used with bare text and attribute values
Export options interfaces in main module
- Update dependencies - Use ESLint instead of TSLint - Use npm instead of gulp
One column per quarter.
Do not indent multi-line strings
Add null and undefined in type declarations
- Bug fixes
Remove unnecessary development dependencies from npm shrinkwrap
Re-write to use xmlcreate (greatly simplifies module source)
Re-write in TypeScript
Re-write to use xmlcreate (greatly simplifies module source)
Added support for the ECMAScript 2015 Map and Set objects
New method of calling module:
var js2xmlparser = require("js2xmlparser");
var root = "root";
var data = {hello: "world"};
var options = {};
// old method (no longer works):
// js2xmlparser(root, data, options);
// new method:
js2xmlparser.parse(root, data, options);
New options and changes to functionality of some existing options:
declaration contains additional optionsattributeString has additional functionalityvalueString has additional functionalityprettyPrinting is now provided by the new
format option, which contains additional optionsarrayMap is now wrapHandlers to reflect the fact that wrapping is
provided for both arrays and ES2015 setsconvertMap is now typeHandlers to match the name change to arrayMapuseCDATA is now provided by the new
cdataInvalidChars and cdataKeys options, which also provide additional
functionalitydtd option- First stable release - Add arrayMap feature - Switch to semantic versioning - Switch to Apache 2.0 license
- Fix error in example.js
Reconcile readme and tests with examples
Added .gitattributes to .gitignore file
Addition of alias string option
- Bug fixes - Minor changes to examples
Removed callFunctions option (functionality already provided by convertMap option)
Fixed crash when undefined objects are converted to strings
Fixed crash when null objects are converted to strings
Fixed accidental truncation of XML when pretty-printing is disabled
- Initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →