{"_id":"fast-xml-builder","_rev":"4327223","name":"fast-xml-builder","description":"Build XML from JSON without C/C++ based libraries","dist-tags":{"latest":"1.1.4"},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"time":{"modified":"2026-04-07T23:41:59.000Z","created":"2026-02-25T09:02:48.383Z","1.1.4":"2026-03-16T12:45:50.159Z","1.1.3":"2026-03-13T05:29:09.752Z","1.1.2":"2026-03-11T15:04:47.909Z","1.1.1":"2026-03-11T11:17:15.760Z","1.1.0":"2026-03-10T13:07:49.530Z","1.0.0":"2026-02-25T09:02:48.383Z"},"users":{},"author":{"name":"Amit Gupta","url":"https://solothought.com"},"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"versions":{"1.1.4":{"name":"fast-xml-builder","version":"1.1.4","description":"Build XML from JSON without C/C++ based libraries","main":"./lib/fxb.cjs","type":"module","sideEffects":false,"module":"./src/fxb.js","types":"./src/fxb.d.ts","exports":{".":{"import":{"types":"./src/fxb.d.ts","default":"./src/fxb.js"},"require":{"types":"./lib/fxb.d.cts","default":"./lib/fxb.cjs"}}},"scripts":{"test":"c8 --reporter=lcov --reporter=text jasmine spec/*spec.js","test-types":"tsc --noEmit spec/typings/typings-test.ts","unit":"jasmine","lint":"eslint src/**/*.js spec/**/*.js benchmark/**/*.js","bundle":"webpack --config webpack.cjs.config.js","prettier":"prettier --write src/**/*.js","checkReadiness":"publish-please --dry-run","publish-please":"publish-please","prepublishOnly":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"keywords":["xml","json","fast","builder","parser","js2xml","json2xml"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","devDependencies":{"@babel/core":"^7.13.10","@babel/plugin-transform-runtime":"^7.13.10","@babel/preset-env":"^7.13.10","@babel/register":"^7.13.8","@types/node":"20","babel-loader":"^8.2.2","c8":"^10.1.3","eslint":"^8.3.0","fast-xml-parser":"^5.3.9","he":"^1.2.0","jasmine":"^5.6.0","prettier":"^3.5.1","publish-please":"^5.5.2","typescript":"5","webpack":"^5.64.4","webpack-cli":"^4.9.1"},"funding":[{"type":"github","url":"https://github.com/sponsors/NaturalIntelligence"}],"dependencies":{"path-expression-matcher":"^1.1.3"},"gitHead":"cbc44d8a3f54e68ac5ea5e785ab3a233b5ee70aa","_id":"fast-xml-builder@1.1.4","bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"shasum":"0c407a1d9d5996336c0cd76f7ff785cac6413017","size":41013,"noattachment":false,"key":"/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/fast-xml-builder/download/fast-xml-builder-1.1.4.tgz"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fast-xml-builder_1.1.4_1773665149999_0.5072811923107796"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-16T12:45:50.159Z","publish_time":1773665150159,"_source_registry_name":"default","_cnpm_publish_time":1773665150159},"1.1.3":{"name":"fast-xml-builder","version":"1.1.3","description":"Build XML from JSON without C/C++ based libraries","main":"./lib/fxb.cjs","type":"module","sideEffects":false,"module":"./src/fxb.js","types":"./src/fxb.d.ts","exports":{".":{"import":{"types":"./src/fxb.d.ts","default":"./src/fxb.js"},"require":{"types":"./lib/fxb.d.cts","default":"./lib/fxb.cjs"}}},"scripts":{"test":"c8 --reporter=lcov --reporter=text jasmine spec/*spec.js","test-types":"tsc --noEmit spec/typings/typings-test.ts","unit":"jasmine","lint":"eslint src/**/*.js spec/**/*.js benchmark/**/*.js","bundle":"webpack --config webpack.cjs.config.js","prettier":"prettier --write src/**/*.js","checkReadiness":"publish-please --dry-run","publish-please":"publish-please","prepublishOnly":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"keywords":["xml","json","fast","builder","parser","js2xml","json2xml"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","devDependencies":{"@babel/core":"^7.13.10","@babel/plugin-transform-runtime":"^7.13.10","@babel/preset-env":"^7.13.10","@babel/register":"^7.13.8","@types/node":"20","babel-loader":"^8.2.2","c8":"^10.1.3","eslint":"^8.3.0","fast-xml-parser":"^5.3.9","he":"^1.2.0","jasmine":"^5.6.0","prettier":"^3.5.1","publish-please":"^5.5.2","typescript":"5","webpack":"^5.64.4","webpack-cli":"^4.9.1"},"funding":[{"type":"github","url":"https://github.com/sponsors/NaturalIntelligence"}],"dependencies":{"path-expression-matcher":"^1.1.3"},"gitHead":"0e2f42a548bab49d292d7ab5c551e4830f0f721f","_id":"fast-xml-builder@1.1.3","bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"shasum":"283579acba94aecf998a7e1339bc7e037195abc1","size":40664,"noattachment":false,"key":"/fast-xml-builder/-/fast-xml-builder-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/fast-xml-builder/download/fast-xml-builder-1.1.3.tgz"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fast-xml-builder_1.1.3_1773379749615_0.13231181104063938"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-13T05:29:09.752Z","publish_time":1773379749752,"_source_registry_name":"default","_cnpm_publish_time":1773379749752},"1.1.2":{"name":"fast-xml-builder","version":"1.1.2","description":"Build XML from JSON without C/C++ based libraries","main":"./lib/fxb.cjs","type":"module","sideEffects":false,"module":"./src/fxb.js","types":"./src/fxb.d.ts","exports":{".":{"import":{"types":"./src/fxb.d.ts","default":"./src/fxb.js"},"require":{"types":"./lib/fxb.d.cts","default":"./lib/fxb.cjs"}}},"scripts":{"test":"c8 --reporter=lcov --reporter=text jasmine spec/*spec.js","test-types":"tsc --noEmit spec/typings/typings-test.ts","unit":"jasmine","lint":"eslint src/**/*.js spec/**/*.js benchmark/**/*.js","bundle":"webpack --config webpack.cjs.config.js","prettier":"prettier --write src/**/*.js","checkReadiness":"publish-please --dry-run","publish-please":"publish-please","prepublishOnly":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"keywords":["xml","json","fast","builder","parser","js2xml","json2xml"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","devDependencies":{"@babel/core":"^7.13.10","@babel/plugin-transform-runtime":"^7.13.10","@babel/preset-env":"^7.13.10","@babel/register":"^7.13.8","@types/node":"20","babel-loader":"^8.2.2","c8":"^10.1.3","eslint":"^8.3.0","fast-xml-parser":"^5.3.9","he":"^1.2.0","jasmine":"^5.6.0","prettier":"^3.5.1","publish-please":"^5.5.2","typescript":"5","webpack":"^5.64.4","webpack-cli":"^4.9.1"},"funding":[{"type":"github","url":"https://github.com/sponsors/NaturalIntelligence"}],"dependencies":{"path-expression-matcher":"^1.1.3"},"gitHead":"0e2f42a548bab49d292d7ab5c551e4830f0f721f","_id":"fast-xml-builder@1.1.2","bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"shasum":"52a1f7d639ed2dcc5c144d6c58377296e52e6add","size":40606,"noattachment":false,"key":"/fast-xml-builder/-/fast-xml-builder-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/fast-xml-builder/download/fast-xml-builder-1.1.2.tgz"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fast-xml-builder_1.1.2_1773241487761_0.38358953390848805"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-11T15:04:47.909Z","publish_time":1773241487909,"_source_registry_name":"default","_cnpm_publish_time":1773241487909},"1.1.1":{"name":"fast-xml-builder","version":"1.1.1","description":"Build XML from JSON without C/C++ based libraries","main":"./lib/fxb.cjs","type":"module","sideEffects":false,"module":"./src/fxb.js","types":"./src/fxb.d.ts","exports":{".":{"import":{"types":"./src/fxb.d.ts","default":"./src/fxb.js"},"require":{"types":"./lib/fxb.d.cts","default":"./lib/fxb.cjs"}}},"scripts":{"test":"c8 --reporter=lcov --reporter=text jasmine spec/*spec.js","test-types":"tsc --noEmit spec/typings/typings-test.ts","unit":"jasmine","lint":"eslint src/**/*.js spec/**/*.js benchmark/**/*.js","bundle":"webpack --config webpack.cjs.config.js","prettier":"prettier --write src/**/*.js","checkReadiness":"publish-please --dry-run","publish-please":"publish-please","prepublishOnly":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"keywords":["xml","json","fast","builder","parser","js2xml","json2xml"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","devDependencies":{"@babel/core":"^7.13.10","@babel/plugin-transform-runtime":"^7.13.10","@babel/preset-env":"^7.13.10","@babel/register":"^7.13.8","@types/node":"20","babel-loader":"^8.2.2","c8":"^10.1.3","eslint":"^8.3.0","fast-xml-parser":"^5.3.9","he":"^1.2.0","jasmine":"^5.6.0","prettier":"^3.5.1","publish-please":"^5.5.2","typescript":"5","webpack":"^5.64.4","webpack-cli":"^4.9.1"},"funding":[{"type":"github","url":"https://github.com/sponsors/NaturalIntelligence"}],"dependencies":{"path-expression-matcher":"^1.1.3"},"gitHead":"c687d9676e055ad9cda122707387ea0197a231e0","_id":"fast-xml-builder@1.1.1","bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"shasum":"e4982749ac0c88f12a2fb2e985702b44833deff0","size":40547,"noattachment":false,"key":"/fast-xml-builder/-/fast-xml-builder-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/fast-xml-builder/download/fast-xml-builder-1.1.1.tgz"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fast-xml-builder_1.1.1_1773227835545_0.15923253832921636"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-11T11:17:15.760Z","publish_time":1773227835760,"_source_registry_name":"default","_cnpm_publish_time":1773227835760},"1.1.0":{"name":"fast-xml-builder","version":"1.1.0","description":"Build XML from JSON without C/C++ based libraries","main":"./lib/fxb.cjs","type":"module","sideEffects":false,"module":"./src/fxb.js","types":"./src/fxb.d.ts","exports":{".":{"import":{"types":"./src/fxb.d.ts","default":"./src/fxb.js"},"require":{"types":"./lib/fxb.d.cts","default":"./lib/fxb.cjs"}}},"scripts":{"test":"c8 --reporter=lcov --reporter=text jasmine spec/*spec.js","test-types":"tsc --noEmit spec/typings/typings-test.ts","unit":"jasmine","lint":"eslint src/**/*.js spec/**/*.js benchmark/**/*.js","bundle":"webpack --config webpack.cjs.config.js","prettier":"prettier --write src/**/*.js","checkReadiness":"publish-please --dry-run","publish-please":"publish-please","prepublishOnly":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"keywords":["xml","json","fast","builder","parser","js2xml","json2xml"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","devDependencies":{"@babel/core":"^7.13.10","@babel/plugin-transform-runtime":"^7.13.10","@babel/preset-env":"^7.13.10","@babel/register":"^7.13.8","@types/node":"20","babel-loader":"^8.2.2","c8":"^10.1.3","eslint":"^8.3.0","fast-xml-parser":"^5.3.9","he":"^1.2.0","jasmine":"^5.6.0","prettier":"^3.5.1","publish-please":"^5.5.2","typescript":"5","webpack":"^5.64.4","webpack-cli":"^4.9.1"},"funding":[{"type":"github","url":"https://github.com/sponsors/NaturalIntelligence"}],"dependencies":{"path-expression-matcher":"^1.1.2"},"gitHead":"b67bd5b3bb9f060bcf5bbaf086e8e9de4ac3d772","_id":"fast-xml-builder@1.1.0","bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"shasum":"6d103ebd731bc5d478cc5035a114b28cfb4b9b03","size":40468,"noattachment":false,"key":"/fast-xml-builder/-/fast-xml-builder-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fast-xml-builder/download/fast-xml-builder-1.1.0.tgz"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fast-xml-builder_1.1.0_1773148069362_0.9135871482489166"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-10T13:07:49.530Z","publish_time":1773148069530,"_source_registry_name":"default","_cnpm_publish_time":1773148069530},"1.0.0":{"name":"fast-xml-builder","version":"1.0.0","description":"Build XML from JSON without C/C++ based libraries","main":"./lib/fxb.cjs","type":"module","sideEffects":false,"module":"./src/fxb.js","types":"./src/fxb.d.ts","exports":{".":{"import":{"types":"./src/fxb.d.ts","default":"./src/fxb.js"},"require":{"types":"./lib/fxb.d.cts","default":"./lib/fxb.cjs"}}},"scripts":{"test":"c8 --reporter=lcov --reporter=text jasmine spec/*spec.js","test-types":"tsc --noEmit spec/typings/typings-test.ts","unit":"jasmine","lint":"eslint src/**/*.js spec/**/*.js benchmark/**/*.js","bundle":"webpack --config webpack.cjs.config.js","prettier":"prettier --write src/**/*.js","checkReadiness":"publish-please --dry-run","publish-please":"publish-please","prepublishOnly":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"keywords":["xml","json","fast","builder","parser","js2xml","json2xml"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","devDependencies":{"@babel/core":"^7.13.10","@babel/plugin-transform-runtime":"^7.13.10","@babel/preset-env":"^7.13.10","@babel/register":"^7.13.8","@types/node":"20","babel-loader":"^8.2.2","c8":"^10.1.3","eslint":"^8.3.0","jasmine":"^5.6.0","prettier":"^3.5.1","publish-please":"^5.5.2","typescript":"5","webpack":"^5.64.4","webpack-cli":"^4.9.1","fast-xml-parser":"^5.3.9","he":"^1.2.0"},"funding":[{"type":"github","url":"https://github.com/sponsors/NaturalIntelligence"}],"dependencies":{},"_id":"fast-xml-builder@1.0.0","gitHead":"0107b0f5c7226b2ea358ab87eca4b3d15434e666","bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"a485d7e8381f1db983cf006f849d1066e2935241","size":19340,"noattachment":false,"key":"/fast-xml-builder/-/fast-xml-builder-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/fast-xml-builder/download/fast-xml-builder-1.0.0.tgz"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"directories":{},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fast-xml-builder_1.0.0_1772010168241_0.8993715519227177"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-25T09:02:48.383Z","publish_time":1772010168383,"_source_registry_name":"default","_cnpm_publish_time":1772010168383}},"readme":"# fast-xml-builder\nBuild XML from JSON\n\n\nXML Builder was the part of [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) for years. But considering that any bug in parser may false-alarm the users who are only using builder, we have decided to split it into a separate package.\n\n## Installation\n\n```bash\nnpm install fast-xml-builder\n```\n\n## Usage\n\n```javascript\nimport XMLBuilder from 'fast-xml-builder';\n\nconst builder = new XMLBuilder();\nconst xml = builder.build({ name: 'value' });\n```\n\nfast-xml-builder fully support the response generated by fast-xml-parser. So you can use the maximum options as you are using for fast-xml-parser like `preserveOrder`, `ignoreAttributes`, `attributeNamePrefix`, `textNodeName`, `cdataTagName`, `cdataPositionChar`, `format`, `indentBy`, `suppressEmptyNode` and many more. Any change in parser will reflect here time to time.\n\n","_attachments":{},"homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"license":"MIT"}