{"_id":"@nodable/compact-builder","_rev":"11-8cf4fa6948d4eb130637364d1321d13e","name":"@nodable/compact-builder","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@nodable/compact-builder","version":"1.0.0","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.0","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builder#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builder/issues"},"dist":{"shasum":"8c8cbe77b458f840804186c5aaf0a25304b88ca7","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.0.tgz","fileCount":6,"integrity":"sha512-bD5U6M02lLm46uXEwJakpVNIAIVsLdnCzMpRI3AC86HamcGoLU63PifhHr0EWZkrRo/Gx7PLcOv5V7PAG9l3pA==","signatures":[{"sig":"MEYCIQCGEJOsf5idl1p0h6IimxjItp4Q9bOOqvPVPXWDL9fuwAIhAOyTy9UAonL7FNez+6yN0ZjEIw3F0qgbiK8JzdhCe3Wv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22664},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"531254392f1bca680ca9ade326bcc0e37ce9a8ed","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builder.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.4.0","@nodable/base-output-builder":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.0_1775742079952_0.8636419349366353","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@nodable/compact-builder","version":"1.0.1","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.1","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builder#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builder/issues"},"dist":{"shasum":"61186fba498746d5ee5e210f43a8ec1fb3ba4ff5","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.1.tgz","fileCount":6,"integrity":"sha512-nLmm4IkJhWcKutzEqPtWg/n/XvNcOWtMbh6UBWSXSTl6SPNY1pzrBiEXqovwo0srKHXn3PX4h6XPdsTdB5ef5A==","signatures":[{"sig":"MEYCIQCxnuzwh6CCrBOutC/eKgbmG+iefhNGN2kaupMfjURtuQIhAL+t8Ig6AoPO1feNy22lxGx9bf5T059o11Bs/UbFvnO1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22663},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"531254392f1bca680ca9ade326bcc0e37ce9a8ed","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builder.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.4.0","@nodable/base-output-builder":"^1.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.1_1775742829565_0.012866673488254987","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@nodable/compact-builder","version":"1.0.2","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.2","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builder#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builder/issues"},"dist":{"shasum":"644fac6a3efbfc179a6811160c750f790f24a9c3","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.2.tgz","fileCount":6,"integrity":"sha512-p6EdBI/t7AhHVgtlbyzVCHEyqWv0qGfDugkC4DZr3SHeQRxwFqYLkOTnpSCp8IJAnsH8CNBWAtgcxwLtBLtUhA==","signatures":[{"sig":"MEQCICxTW1GUPUofx6au2i2UHy1H23Asn3bA1o0ol+w9m52aAiAoRkjZlJK5RJ0zTSTdtSpAXjBz7QqFz8gpCsFKQQsEBw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22663},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"531254392f1bca680ca9ade326bcc0e37ce9a8ed","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builder.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.4.0","@nodable/base-output-builder":"^1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.2_1775743871997_0.213564204260154","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@nodable/compact-builder","version":"1.0.3","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.3","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builders#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"dist":{"shasum":"9140ade9f14a65a191a0d6ffbd25bced21ade673","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.3.tgz","fileCount":6,"integrity":"sha512-sRkugaDRAblFrNxd1sK2RCnHjh7EtKKzwBqinUiwv9B35vYlulsDnQaO+fqxNIuwJcQ0eGhOF+W7SMaNGc4whg==","signatures":[{"sig":"MEUCIHWT4XUGUaT8P6d5TiVpTY79tI44Pii725OBxTFwnxQQAiEA6jsTWx8tlzYLIzygsmMnMprXLOlR8eGZ8E1xxjB0IpY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22692},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"5a25608c0e3820a383abd26c5eb2920123d32d73","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builders.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.5.0","@nodable/base-output-builder":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.3_1776167262855_0.6877343805613649","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@nodable/compact-builder","version":"1.0.4","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.4","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builders#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"dist":{"shasum":"bcb9e06885082b2abd0c1e1d5b34eb4a986b7db9","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.4.tgz","fileCount":6,"integrity":"sha512-u8LsrNRQ2BV5yY8JBshTYHNBBhsGjan8fQcy2h+ihtSyiWEfkFfVwGUr5WzXvRL5Kj6OJp9r8MZVjWBgnQ8lBg==","signatures":[{"sig":"MEQCIEv+AgstZnYBP1bV+oN/L2fSHUZYS2uCtjNwAiHQZdpmAiBA05T3Sw5vvJERnH6U3hvlgR2+rvKbb41Qdb5gdg2z1w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22694},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"80ed0e2d0c1264ebb10bc8dd9b5d8f4c9b422305","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builders.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.5.0","@nodable/base-output-builder":"^1.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.4_1776167957512_0.3311892268928769","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@nodable/compact-builder","version":"1.0.5","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.5","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builders#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"dist":{"shasum":"5c565f26e38d428f1df8d964f0ba061292127e23","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.5.tgz","fileCount":6,"integrity":"sha512-4n7kO1Ii0v+5sOOTtj6xnOA84mZAgXCfpMPk86dQX3Dfz07nzlstyQ9TZL9u7KWmAwK9HITTm24QZAEjKj/8ow==","signatures":[{"sig":"MEUCIH58xK++SlEKCI6FYyr6Ln5W8nK7pcNHBN9vGA4SqXTgAiEApS5EAnFez+/ytL2bQ1cMXpG4DqbyG0vp7lYAiFQUKr8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22677},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"b3c874e0bcd9d1ce8702cf56b257a4af84c37c84","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builders.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.5.0","@nodable/base-output-builder":"^1.0.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.5_1776401605468_0.9156548199419354","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@nodable/compact-builder","version":"1.0.6","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.6","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builders#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"dist":{"shasum":"13f5c4084accd74b150cc75a655f5f04599be988","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.6.tgz","fileCount":6,"integrity":"sha512-tnfhKuPQ8GiXaXh2zO20KROHNMo7MV738i7VXde3I9OrTctqf2ESuv3pkrtczg9ejp6P5cSHcrILjjDn2mvm1g==","signatures":[{"sig":"MEUCICGBlvF5ghsWgvDYGegeVst1KBylaicFa6GYbE/I/bnJAiEA0wdEkR/7bFTidnF+wSZzY/mMS6TTEtEfGPGWcZKOocE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22677},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"ab2a99a7d41fded5b7ab5ac87d9491f63284b274","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builders.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.5.0","@nodable/base-output-builder":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.6_1776403453898_0.23084661054559907","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@nodable/compact-builder","version":"1.0.7","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.7","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builders#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"dist":{"shasum":"d1ec0d550b47b56fc157552790c04c6887985f73","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.7.tgz","fileCount":6,"integrity":"sha512-g5rl5mSS+8JzzQl83SZxJOQC0W4hlLXmfloVSNx57FD2DurIYzaOsqGHbUvYjZgXfi5al3/vvTwuLNZHRWFAsQ==","signatures":[{"sig":"MEUCIQCaWr0z/wCXX2mK7OoyY5qcnkfmll5TxETHrvcfDhW1oQIgVTsS4Bm/wLPLmnDzqDLvoVbjN9YB2IuxBCRQVLeN8bQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23146},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"2f7954c23a834da3b02f29bdd25159d3cd88ff83","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builders.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.5.0","@nodable/base-output-builder":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.7_1777963259262_0.03373200042507474","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@nodable/compact-builder","version":"1.0.8","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.8","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builders#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"dist":{"shasum":"437ac45996117e4e3d6d110d68efa266cddcb3be","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.8.tgz","fileCount":6,"integrity":"sha512-YV2WQm7uK7uIMds6fcXma0jC0UWHCFuZyrdP+oAboLaeK9T25ebzZkDosWD0duH9dMZrfofSitOM5BFgCWnm/w==","signatures":[{"sig":"MEUCIGIdHFGssKswhdil7OP3lHy+5PnFncUvwYVkf5U4DMqLAiEAymDZZXRPMZW6BNrxKeDwY6xzde93aEvJKjk95Dt5Ubc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23709},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"2f7954c23a834da3b02f29bdd25159d3cd88ff83","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builders.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.5.0","@nodable/base-output-builder":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.8_1778556977534_0.2638129285176778","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@nodable/compact-builder","version":"1.0.9","keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"url":"https://solothought.com","name":"Amit Gupta"},"license":"MIT","_id":"@nodable/compact-builder@1.0.9","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"homepage":"https://github.com/nodable/flexible-output-builders#readme","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"dist":{"shasum":"58c21d0064288506e7ca65d20be080c1fc8f35dd","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-1.0.9.tgz","fileCount":6,"integrity":"sha512-90tD+khseKL+Wxf1gMiL3JsZrdevKI0g5oHbb8zqJzLsxMpwoSZu/EZDHl9I8+gmDSz7hzK1hcopC+4GnMZiKg==","signatures":[{"sig":"MEUCIHveGjbb7RF3U2x4A5wfKbPXApjq7oCLdkMr3WSlja4YAiEAyg8nU26mBL16P4yFu8IcXHng2uL0lMU1WEki6zP2QDs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23709},"main":"./src/index.js","type":"module","types":"./src/index.d.ts","funding":[{"url":"https://github.com/sponsors/nodable","type":"github"}],"gitHead":"2f7954c23a834da3b02f29bdd25159d3cd88ff83","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"},"repository":{"url":"git+https://github.com/nodable/flexible-output-builders.git","type":"git"},"_npmVersion":"11.11.0","description":"Compact JS Object builder for flexible-xml-parser","directories":{},"_nodeVersion":"22.14.0","dependencies":{"path-expression-matcher":"^1.5.0","@nodable/base-output-builder":"^1.0.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/compact-builder_1.0.9_1779956850524_0.010349673332723075","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@nodable/compact-builder","version":"2.0.0","description":"Compact JS Object builder for flexible-xml-parser","main":"./src/index.js","types":"./src/index.d.ts","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["flexible-xml-parser","nodable","xml","json"],"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","publishConfig":{"access":"public"},"dependencies":{"@nodable/base-output-builder":"^2.0.0","path-expression-matcher":"^1.6.1"},"funding":[{"type":"github","url":"https://github.com/sponsors/nodable"}],"repository":{"type":"git","url":"git+https://github.com/nodable/flexible-output-builders.git"},"gitHead":"15c28226356bc7ff631376d6ec81d59b92efe650","_id":"@nodable/compact-builder@2.0.0","bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"homepage":"https://github.com/nodable/flexible-output-builders#readme","_nodeVersion":"22.14.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-TLyrdyV+KIh9n7waO45m9LsbxpoNXkHfXmQ4tWgXJynsJwCCZm2qT5NFvcjzWq3AN+tsA7XpmQOwAC5vbqzjkg==","shasum":"36572bb426119e9d3f584103e62fb8033fdc5470","tarball":"https://registry.npmjs.org/@nodable/compact-builder/-/compact-builder-2.0.0.tgz","fileCount":6,"unpackedSize":20070,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDs8v/cbNe859YcuOVRkNtdcuKaqwt0SnC9nr3yxaX83AiEAjabAvA8TXHuCwgS5nHZfcN2j3B2xSfLm4ZE/HGMRhKg="}]},"_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/compact-builder_2.0.0_1782457443401_0.01856415427637481"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-09T13:41:19.845Z","modified":"2026-06-26T07:04:03.659Z","1.0.0":"2026-04-09T13:41:20.103Z","1.0.1":"2026-04-09T13:53:49.717Z","1.0.2":"2026-04-09T14:11:12.135Z","1.0.3":"2026-04-14T11:47:42.983Z","1.0.4":"2026-04-14T11:59:17.656Z","1.0.5":"2026-04-17T04:53:25.599Z","1.0.6":"2026-04-17T05:24:14.049Z","1.0.7":"2026-05-05T06:40:59.413Z","1.0.8":"2026-05-12T03:36:17.693Z","1.0.9":"2026-05-28T08:27:30.668Z","2.0.0":"2026-06-26T07:04:03.548Z"},"bugs":{"url":"https://github.com/nodable/flexible-output-builders/issues"},"author":{"name":"Amit Gupta","url":"https://solothought.com"},"license":"MIT","homepage":"https://github.com/nodable/flexible-output-builders#readme","keywords":["flexible-xml-parser","nodable","xml","json"],"repository":{"type":"git","url":"git+https://github.com/nodable/flexible-output-builders.git"},"description":"Compact JS Object builder for flexible-xml-parser","maintainers":[{"name":"amitgupta","email":"amitgupta.gwl@gmail.com"}],"readme":"# Compact Output Builder\n\nThis helps to generate compact or minimal JS Object from XML.\n\n## Installation\n\n```bash\nnpm install @nodable/compact-builder\n```\n\n## Usage\n\n```javascript\nimport XMLParser from \"@nodable/flexible-xml-parser\";\nimport CompactBuilderFactory from \"@nodable/compact-builder\";\n\nconst cobOpts = {};\n\nconst parser = new XMLParser({\n  OutputBuilder: new CompactBuilderFactory(cobOpts)\n});\n\nconst result = parser.parse('<root><item>value</item></root>');\n```\n\n## Properties\n\n### 1. `forceArray` Option\n\n**Type:** `function(matcher, isLeafNode) => boolean`\n\nForces specific XML tags to always be represented as arrays, even when only a single occurrence exists. This ensures consistent data structures in your parsed output.\n\n**Key Benefits:**\n\n- Prevents code breaking when XML structure changes (single → multiple elements)\n- Simplifies array processing logic in consuming code\n- Supports path-based, attribute-based, and leaf-node-based decisions\n\n```js\nimport XMLParser from \"@nodable/flexible-xml-parser\"\nimport CompactBuilderFactory from \"@nodable/compact-builder\"\n\nconst inputXml = `<catalog><book>Title</book></catalog>`;\n\nconst parser = new XMLParser({\n  OutputBuilder: new CompactBuilderFactory({\n    forceArray: (matcher, isLeafNode) => {\n      return matcher.toString().endsWith('catalog.book');\n    }\n  }),\n});\n\nconst result = parser.parse(inputXml);\n```\n\nOutput\n```json\n{\n  \"catalog\": {\n    \"book\": [\n      \"Title\"\n    ]\n  }\n}\n\n```\n\n### 2. `alwaysArray` Option\n\n**Type:** `string[] | Expression[]`\n\nForces specific XML tags to always be represented as arrays, even when only a single occurrence exists. This ensures consistent data structures in your parsed output.\n\n**Key Benefits:**\n\n- Prevents code breaking when XML structure changes (single → multiple elements)\n- Simplifies array processing logic in consuming code\n- Supports path-based, attribute-based, and leaf-node-based decisions\n\n```js\nimport { Expression } from 'path-expression-matcher';\n\nconst inputXml = `<catalog><book>Title</book></catalog>`;\n\nconst parser = new XMLParser({\n  OutputBuilder: new CompactBuilderFactory({\n    alwaysArray: [\"..item\", new Expression('root.product')]\n  }),\n});\n\nconst result = parser.parse(inputXml);\n```\n\nOutput\n```json\n{\n  \"catalog\": {\n    \"book\": \"Title\"\n  }\n}\n```\n\nPlease note that if `alwaysArray` or `forceArray` returns true for a tag then it'll be array. Similarly if any one of then returns false for a tag then it'll not be array.\n\n### 3. `forceTextNode` Option\n\n**Type:** `boolean`\n\nForces creation of a text node object for every tag, ensuring consistent object structure instead of mixing strings and objects.\n\n**Key Benefits:**\n\n- Uniform property access patterns (`item[\"#text\"]` always works)\n- Easier to serialize/deserialize\n- Consistent structure across all tags\n\n\n```js\nconst inputXml = `<item>Value</item>`;\n\nconst parser = new XMLParser({\n  OutputBuilder: new CompactBuilderFactory({\n    forceTextNode: true //false by default\n  }),\n});\n\nconst result = parser.parse(inputXml);\n\n// Without option: { item: \"Value\" }\n// With option: { item: { \"#text\": \"Value\" } }\n```\n\nOutput\n```js\n{\n  \"item\": {\n    \"#text\": \"Value\"\n  }\n}\n```\n\n### 4. `textJoint` Option\n\n**Type:** `string` (default: `''`)\n\nString inserted between text chunks when a tag accumulates multiple text segments (e.g. text interspersed with comments or CDATA).\n\n```js\nconst parser = new XMLParser({\n  OutputBuilder: new CompactBuilderFactory({\n    textJoint: ' '\n  }),\n});\n```\n---\n\n### Other Options\n\n`skip`, `nameFor`, and `attributes` are parser-level options documented in `@nodable/flexible-xml-parser`. They are passed through to the parser unchanged.","readmeFilename":"README.md"}