Skip to content
JS
Package

xml-js

A convertor between XML text and Javascript object / JSON text.

v1.6.11, 13 Feb 2019MITCommonJSTypes: BundledParsers and serialisers
$ npm install xml-js

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
010m20m30mSept 2025Mar 2026Sept 2026High 20.7m (30 Jun 2026)Low 1.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v1 first release 1.0.0, 13 Jan 2017
  2. v0 first release 0.1.0, 25 May 2016

Recent releases

VersionPublished
1.6.1113 Feb 2019
1.6.1013 Feb 2019
1.6.911 Jan 2019
1.6.820 Sept 2018
1.6.73 Jul 2018
1.6.63 Jul 2018
1.6.53 Jul 2018
1.6.424 May 2018
1.6.318 May 2018
1.6.23 Jan 2018
1.6.118 Dec 2017
1.6.017 Dec 2017
1.5.210 Nov 2017
1.5.13 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-js

CDN

jsDelivr: 697.7k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/xml-js@1.6.11/
  • unpkghttps://unpkg.com/xml-js@1.6.11/
  • esm.shhttps://esm.sh/xml-js@1.6.11
PackageWeekly downloadsGzipLast releaseModuleComparison
@rgrove/parse-xml115.6k-26 days agoESM only-
sax-wasm81.7k-7 months agoESM + CommonJS-
js2xmlparser3m-4 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.