fast-xml-builder
npmv1.3.1TypeScriptBuild XML from JSON without C/C++ based libraries
Safe to adopt
Yes — fast-xml-builder scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 27 days ago. 15 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 27 days ago. 15 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 2 transitive packages, about 249 KB installed (at least — some of the tree is still being crawled).
- 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 fast-xml-builder 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.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing fast-xml-builder, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the fast-xml-builder README.
import XMLBuilder from 'fast-xml-builder';
const builder = new XMLBuilder();
const xml = builder.build({ name: 'value' });fast-xml-builder 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 |
|---|---|---|---|---|
| fast-xml-builderthis page | 0 | 1 | MIT | 27 days ago |
| fast-xml-parser | 0 | 4 | MIT | 1 day ago |
| cheerio | 24.1M | 5 | MIT | 1 day ago |
| plist | 14M | 2 | MIT | 1 day ago |
| xml2js | 0 | 1 | MIT | 1 day ago |
| @nodable/entities | 0 | 2 | MIT | 1 day ago |
Dependencies
Declared by fast-xml-builder v1.3.1. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (2)
Dev (15)
Used by
Popular packages that depend on fast-xml-builder.
Relationship graph
Dependencies (left) and dependents (right) of fast-xml-builder.
Frequently installed together
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Entity parser for XML, HTML, External entites with security and NCR control
Zero-dependency, DOM-free, pure predicate for detecting unsafe strings across HTML, XML, SVG, SQL, SHELL, and REGEX contexts
Parse String to Number based on configuration
Validates XML name productions — Name, NCName, QName, NMToken, NMTokens — for XML 1.0 and 1.1
TypeScript definitions for node
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
Release history
15 releases in the last two years, typically about 3 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.3.1latest | 27 days ago | 219 KB | MIT |
| 1.3.0 | 2 months ago | 217 KB | MIT |
| 1.2.1 | 2 months ago | 202 KB | MIT |
| 1.2.0 | 4 months ago | 201 KB | MIT |
| 1.1.9 | 4 months ago | 160 KB | MIT |
| 1.1.8 | 4 months ago | 156 KB | MIT |
| 1.1.7 | 4 months ago | 155 KB | MIT |
| 1.1.6 | 4 months ago | 154 KB | MIT |
| 1.1.5 | 4 months ago | 152 KB | MIT |
| 1.1.4 | 5 months ago | 152 KB | MIT |
| 1.1.3 | 6 months ago | 150 KB | MIT |
| 1.1.2 | 6 months ago | 150 KB | MIT |
| 1.1.1 | 6 months ago | 150 KB | MIT |
| 1.1.0 | 6 months ago | 150 KB | MIT |
| 1.0.0 | 6 months ago | 70 KB | MIT |
Overview
fast-xml-builder is an npm package that build XML from JSON without C/C++ based libraries. It has 1 known dependents in the graph. The latest version is 1.3.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need build XML from JSON without C/C++ based libraries and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (17 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use fast-xml-builder?
Yes — fast-xml-builder scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 27 days ago. 15 releases in the last 2 years.
How do I install fast-xml-builder?
Run `npm install fast-xml-builder` to add fast-xml-builder to your npm project.
How many dependencies does fast-xml-builder have?
fast-xml-builder declares 17 direct dependencies and pulls in 2 packages in total once its runtime tree is resolved totalling about 249 KB on disk.
What license is fast-xml-builder released under?
fast-xml-builder is distributed under the MIT license.
How popular is fast-xml-builder?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on fast-xml-builder.
Is fast-xml-builder still maintained?
The most recent release of fast-xml-builder (v1.3.1) was published 27 days ago.
Does fast-xml-builder run install scripts?
No. fast-xml-builder does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.