xmlbuilder
npmv15.1.1TypeScriptAn XML builder for node.js
Not recommended for new projects
No — xmlbuilder should not be adopted for new projects. Last published 2345 days ago.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- FMaintenance: grade F, Failing.
Last published 2345 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 314 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding xmlbuilder to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >=8.0
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the xmlbuilder README.
var builder = require('xmlbuilder');
var xml = builder.create('root')
.ele('xmlbuilder')
.ele('repo', {'type': 'git'}, 'git://github.com/oozcitak/xmlbuilder-js.git')
.end({ pretty: true});
console.log(xml);xmlbuilder vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| xmlbuilderthis page | 0 | 3 | MIT | 6 years ago |
| dom-serializer | 94.3M | 2 | MIT | 1 day ago |
| cheerio | 24.1M | 5 | MIT | 1 day ago |
| plist | 14M | 2 | MIT | 1 day ago |
| fast-xml-parser | 0 | 4 | MIT | 1 day ago |
| w3c-xmlserializer | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by xmlbuilder v15.1.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (8)
Used by
Popular packages that depend on xmlbuilder.
Relationship graph
Dependencies (left) and dependents (right) of xmlbuilder.
Frequently installed together
A JavaScript text diff implementation.
Next generation testing framework powered by Vite
An evented streaming XML parser in JavaScript
TypeScript definitions for node
Base64 encoding/decoding in pure JS
Release history
No releases in the last two years, typically about 14 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 15.1.1latest | 6 years ago | 314 KB | MIT |
| 15.1.0 | 6 years ago | 313 KB | MIT |
| 15.0.0 | 6 years ago | 311 KB | MIT |
| 14.0.0 | 6 years ago | 311 KB | MIT |
| 13.0.2 | 7 years ago | 236 KB | MIT |
| 13.0.1 | 7 years ago | 233 KB | MIT |
| 13.0.0 | 7 years ago | 230 KB | MIT |
| 12.0.1 | 7 years ago | 188 KB | MIT |
| 12.0.0 | 7 years ago | 185 KB | MIT |
| 11.0.1 | 7 years ago | 164 KB | MIT |
| 11.0.0 | 7 years ago | 428 KB | MIT |
| 10.1.1 | 7 years ago | 108 KB | MIT |
| 10.1.0 | 8 years ago | 107 KB | MIT |
| 10.0.0 | 8 years ago | 104 KB | MIT |
| 9.0.7 | 8 years ago | 102 KB | MIT |
Overview
xmlbuilder is an npm package that an XML builder for node.js. It has 3 known dependents in the graph. The latest version is 15.1.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need an XML builder for node.js and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Keywords
Frequently asked questions
Should I use xmlbuilder?
No — xmlbuilder should not be adopted for new projects. Last published 2345 days ago.
How do I install xmlbuilder?
Run `npm install xmlbuilder` to add xmlbuilder to your npm project.
What license is xmlbuilder released under?
xmlbuilder is distributed under the MIT license.
How popular is xmlbuilder?
npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on xmlbuilder.
Is xmlbuilder still maintained?
The most recent release of xmlbuilder (v15.1.1) was published 6 years ago.
Does xmlbuilder run install scripts?
No. xmlbuilder does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.