{"_id":"fast-xml-builder","name":"fast-xml-builder","dist-tags":{"latest":"1.0.0"},"versions":{"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":{"integrity":"sha512-fpZuDogrAgnyt9oDDz+5DBz0zgPdPZz6D4IR7iESxRXElrlGTRkHJ9eEt+SACRJwT0FNFrt71DFQIUFBJfX/uQ==","shasum":"a485d7e8381f1db983cf006f849d1066e2935241","tarball":"https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.0.0.tgz","fileCount":13,"unpackedSize":72145,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFnDdEagOXpqGr3smpDQHGVd50Rmsygvx9Mks3Y5o4CSAiA7a/pxuOFvz37MgP0AtxEsAjnWMuzJSoV0Is3oF5Vebw=="}]},"_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}},"time":{"created":"2026-02-25T09:02:48.240Z","1.0.0":"2026-02-25T09:02:48.383Z","modified":"2026-02-25T09:02:48.569Z"},"maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"description":"Build XML from JSON without C/C++ based libraries","homepage":"https://github.com/NaturalIntelligence/fast-xml-builder#readme","keywords":["xml","json","fast","builder","parser","js2xml","json2xml"],"repository":{"type":"git","url":"git+https://github.com/NaturalIntelligence/fast-xml-builder.git"},"author":{"name":"Amit Gupta","url":"https://solothought.com"},"bugs":{"url":"https://github.com/NaturalIntelligence/fast-xml-builder/issues"},"license":"MIT","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","readmeFilename":"README.md","_rev":"1-8c9234ad61ff3a8ed26dbfa5aa4940e1"}