</>PackageGraphPackageGraph

w3c-xmlserializer

npmv5.0.0

A per-spec XML serializer implementation

Adopt with care

w3c-xmlserializer is usable, with caveats. Last published 1033 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • DMaintenance: grade D, Poor — a real concern.

    Last published 1033 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 31 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 6 maintainers, and a contained dependency surface.

  • 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 w3c-xmlserializer to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

31 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

Apache-2.0

Every license you inherit by installing w3c-xmlserializer, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=18
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the w3c-xmlserializer README.

const { JSDOM } = require("jsdom");

const { document } = new JSDOM().window;
const node = document.createElement("akomaNtoso");

w3c-xmlserializer vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
w3c-xmlserializerthis page01MIT2 years ago
cheerio24.1M5MIT1 day ago
happy-dom06MIT1 day ago
jsdom020MIT1 day ago
dom-serializer94.3M2MIT1 day ago
@testing-library/jest-dom56M6MIT1 day ago

Dependencies

Declared by w3c-xmlserializer v5.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (3)

@domenic/eslint-config ^3.0.0eslint ^8.53.0jsdom ^22.1.0

Used by

Popular packages that depend on w3c-xmlserializer.

Relationship graph

Dependencies (left) and dependents (right) of w3c-xmlserializer.

xml-name-validatorjsdomw3c-xmlserializer
w3c-xmlserializer dependencies dependents

Frequently installed together

whatwg-urlnpm

An implementation of the WHATWG URL Standard's URL API and parsing machinery

204.4M/wk3 dependentsMIT
undicinpm

An HTTP/1.1 client, written from scratch for Node.js

158.5M/wk15 dependentsMITTS
eslintnpm

An AST-based pattern checker for JavaScript.

138.4M/wk279 dependentsMITTS
is-potential-custom-element-namenpm

Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.

41.4M/wk2 dependentsMIT
decimal.jsnpm

An arbitrary-precision Decimal type for JavaScript.

0/wk1 dependentsMITTS
webidl-conversionsnpm

Implements the WebIDL algorithms for converting to and from JavaScript values

0/wk2 dependentsBSD-2-Clause
whatwg-mimetypenpm

Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard

0/wk3 dependentsMIT
@asamuzakjp/css-colornpm

CSS color - Resolve and convert CSS colors.

0/wk1 dependentsMITTS
xml-name-validatornpm

Validates whether a string matches the production for an XML name or qualified name

0/wk2 dependentsApache-2.0
@csstools/css-syntax-patches-for-csstreenpm

CSS syntax patches for CSS tree

0/wk1 dependentsMIT-0TS
css-treenpm

A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations

0/wk5 dependentsMIT
html-encoding-sniffernpm

Sniff the encoding from a HTML byte stream

0/wk1 dependentsMIT

Release history

No releases in the last two years, typically about 64 days apart.

Recent versions of w3c-xmlserializer
VersionPublishedSizeLicense
5.0.0latest2 years ago18 KBMIT
4.0.03 years ago18 KBMIT
3.0.05 years ago18 KBMIT
2.0.06 years ago18 KBMIT
1.1.27 years ago22 KBMIT
1.1.17 years ago22 KBMIT
1.1.07 years ago22 KBMIT
1.0.17 years ago21 KBMIT
1.0.08 years ago21 KBMIT
0.0.4-08 years ago21 KBMIT
0.0.38 years ago21 KBMIT
0.0.28 years ago20 KBMIT
0.0.18 years ago20 KBMIT

Overview

w3c-xmlserializer is an npm package that a per-spec XML serializer implementation. It has 1 known dependents in the graph. The latest version is 5.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a per-spec XML serializer implementation and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use w3c-xmlserializer?

w3c-xmlserializer is usable, with caveats. Last published 1033 days ago.

How do I install w3c-xmlserializer?

Run `npm install w3c-xmlserializer` to add w3c-xmlserializer to your npm project.

How many dependencies does w3c-xmlserializer have?

w3c-xmlserializer declares 4 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 31 KB on disk.

What license is w3c-xmlserializer released under?

w3c-xmlserializer is distributed under the MIT license.

How popular is w3c-xmlserializer?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on w3c-xmlserializer.

Is w3c-xmlserializer still maintained?

The most recent release of w3c-xmlserializer (v5.0.0) was published 2 years ago.

Does w3c-xmlserializer run install scripts?

No. w3c-xmlserializer does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.