Skip to content
JS
Package

xml

Fast and simple xml generator. Supports attributes, CDATA, etc. Includes tests and examples.

v1.0.1, 31 Jan 2016MITCommonJSTypes: None
$ npm install xml

Key numbers

As of 25 Sept 2026
Weekly downloads
13m
+62% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 years ago
v1.0.1
GitHub stars
282
50 forks
Open issues / PRs
17 / 7
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 25.8m (16 Jun 2026)Low 4.7m (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.

12,954,352 downloads last week, 66,092,983 in the last month. The 12-month change of +62% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
011 in total
Latest version
1.0.1, 31 Jan 201610 years ago
First published
11 Apr 2011
Last push to GitHub
23 May 2025489 days before the snapshot
Repository archived
No
Open issues
17
Open pull requests
7
Commits, last 52 weeks
0
Dependents on npm
660

Major versions

  1. v1 first release 1.0.0, 26 Sept 2014
  2. v0 first release 0.0.2, 11 Apr 2011

Recent releases

VersionPublished
1.0.131 Jan 2016
1.0.026 Sept 2014
0.0.1228 Jan 2014
0.0.108 Nov 2013
0.0.98 Nov 2013
0.0.815 Sept 2013
0.0.728 Oct 2011
0.0.58 May 2011
0.0.413 Apr 2011
0.0.311 Apr 2011
0.0.211 Apr 2011
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (0)
None
npm install xml
  • jsDelivrhttps://cdn.jsdelivr.net/npm/xml@1.0.1/
  • unpkghttps://unpkg.com/xml@1.0.1/
  • esm.shhttps://esm.sh/xml@1.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.