Package
xmlbuilder2
An XML builder for node.js
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 15.8m
- +707% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 9 months ago
- v4.0.3
- GitHub stars
- 409
- 38 forks
- Open issues / PRs
- 18 / 12
- Contributors
- -
- Commits, last 52 weeks
- 82
Downloads
Last week 2026-09-15 to 2026-09-21
15,838,035 downloads last week, 72,194,925 in the last month. The 12-month change of +707% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 450 in total
- Latest version
- 4.0.3, 1 Dec 20259 months ago
- First published
- 12 Nov 2019
- Last push to GitHub
- 8 May 2026139 days before the snapshot
- Repository archived
- No
- Open issues
- 18
- Open pull requests
- 12
- Commits, last 52 weeks
- 82
- Dependents on npm
- 533
Major versions
- v4 first release 4.0.0, 16 Oct 2025
- v3 first release 3.0.0, 29 Jul 2021
- v2 first release 2.0.0, 30 Mar 2020
- v1 first release 1.1.0, 12 Feb 2020
- v0 first release 0.0.1, 12 Nov 2019
Recent releases
| Version | Published |
|---|---|
| 4.0.3 | 1 Dec 2025 |
| 4.0.2 | 1 Dec 2025 |
| 4.0.1 | 26 Nov 2025 |
| 4.0.0 | 16 Oct 2025 |
| 3.1.1 | 9 May 2023 |
| 3.1.0 | 24 Apr 2023 |
| 3.0.2 | 10 Aug 2021 |
| 3.0.1 | 29 Jul 2021 |
| 3.0.0 | 29 Jul 2021 |
| 2.4.1 | 8 Apr 2021 |
| 2.4.0 | 14 Sept 2020 |
| 2.3.1 | 5 Aug 2020 |
| 2.3.0 | 4 Aug 2020 |
| 2.2.0 | 14 Jul 2020 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=20.0
- Runtimes
- -
- Unpacked size (npm)
- 918 kB
- Dependencies (4)
js-yaml@oozcitak/dom@oozcitak/util@oozcitak/infra
npm install xmlbuilder2CDN
jsDelivr: 428.3k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/xmlbuilder2@4.0.3/ - unpkg
https://unpkg.com/xmlbuilder2@4.0.3/ - esm.sh
https://esm.sh/xmlbuilder2@4.0.3
Indexability: Indexed.