Package
xml-js
A convertor between XML text and Javascript object / JSON text.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 7.7m
- +214% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 7 years ago
- v1.6.11
- GitHub stars
- 1.3k
- 181 forks
- Open issues / PRs
- 88 / 39
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
7,718,440 downloads last week, 39,468,207 in the last month. The 12-month change of +214% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 049 in total
- Latest version
- 1.6.11, 13 Feb 20197 years ago
- First published
- 25 May 2016
- Last push to GitHub
- 26 Jul 2024790 days before the snapshot
- Repository archived
- No
- Open issues
- 88
- Open pull requests
- 39
- Commits, last 52 weeks
- 0
- Dependents on npm
- 2,036
Major versions
- v1 first release 1.0.0, 13 Jan 2017
- v0 first release 0.1.0, 25 May 2016
Recent releases
| Version | Published |
|---|---|
| 1.6.11 | 13 Feb 2019 |
| 1.6.10 | 13 Feb 2019 |
| 1.6.9 | 11 Jan 2019 |
| 1.6.8 | 20 Sept 2018 |
| 1.6.7 | 3 Jul 2018 |
| 1.6.6 | 3 Jul 2018 |
| 1.6.5 | 3 Jul 2018 |
| 1.6.4 | 24 May 2018 |
| 1.6.3 | 18 May 2018 |
| 1.6.2 | 3 Jan 2018 |
| 1.6.1 | 18 Dec 2017 |
| 1.6.0 | 17 Dec 2017 |
| 1.5.2 | 10 Nov 2017 |
| 1.5.1 | 3 Oct 2017 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 411 kB
- Dependencies (1)
sax
npm install xml-jsCDN
jsDelivr: 697.7k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/xml-js@1.6.11/ - unpkg
https://unpkg.com/xml-js@1.6.11/ - esm.sh
https://esm.sh/xml-js@1.6.11
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @rgrove/parse-xml | 115.6k | - | 26 days ago | ESM only | - |
| sax-wasm | 81.7k | - | 7 months ago | ESM + CommonJS | - |
| js2xmlparser | 3m | - | 4 years ago | CommonJS | - |
Indexability: Indexed.