xml-formatter 2.6.1
Converts a XML string into a human readable format (pretty print) while respecting the xml:space attribute
xml-formatter@2.6.1 was published on 2022-02-03. Its manifest declares 1 runtime dependency and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >= 10.
All xml-formatter versions · Permanent reference to 2.6.1 · Latest release
Package specifications
| Version | 2.6.1 |
|---|---|
| License declaration | MIT |
| Published | 2022-02-03T19:57:37.802Z |
| Node.js requirement | >= 10 |
| Type declarations | Not declared |
| Runtime dependency count | 1 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 35.61 KiB |
| Published file count | 8 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 1 |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install xml-formatter 2.6.1
npm install xml-formatter@2.6.1 pnpm add xml-formatter@2.6.1 yarn add xml-formatter@2.6.1
Runtime dependencies
- xml-parser-xo ^3.2.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- xml-parser-xo@3.2.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Evidence and freshness
- https://registry.npmjs.org/xml-formatter/2.6.1 — retrieved 2026-10-29T10:59:47.432Z
- https://api.deps.dev/v3/systems/npm/packages/xml-formatter/versions/2.6.1 — retrieved 2026-10-29T10:59:48.029Z
- https://api.deps.dev/v3/systems/npm/packages/xml-formatter/versions/2.6.1:dependencies — retrieved 2026-10-29T10:59:48.057Z