dom-serializer
npmv3.1.1TypeScriptrender domhandler DOM nodes to a string
Overview
dom-serializer is an npm package that render domhandler DOM nodes to a string. The latest version is 3.1.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need render domhandler DOM nodes to a string 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.
Relationship graph
Dependencies (left) and dependents (right) of dom-serializer.
Dependencies
Runtime (3)
Dev (10)
Used by
Popular packages that depend on dom-serializer.
Alternatives to dom-serializer
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
Escape string for use in HTML
A JavaScript implementation of many web standards
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
UI for Vitest
Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.
A per-spec XML serializer implementation
Validates whether a string matches the production for an XML name or qualified name
Sniff the encoding from a HTML byte stream
fast and safe way to escape and unescape &<>'" chars
html formatter yo! Prettify or minify html.
A low level parser for ANSI sequences.
Frequently installed together
An AST-based pattern checker for JavaScript.
Next generation testing framework powered by Vite
TypeScript definitions for node
Handler for htmlparser2 that turns pages into a dom
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
Implementation of the HTML encoding sniffer algo, with stream support
V8 coverage provider for Vitest
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
An HTTP/1.1 client, written from scratch for Node.js
TypeScript definitions for whatwg-mimetype
CSS selector engine supporting jQuery selectors
htmlparser2 tree adapter for parse5.
Version history
| Version | Published | License |
|---|---|---|
| 3.1.1latest | 2 months ago | MIT |
| 3.1.0 | 2 months ago | MIT |
| 3.0.0 | 4 months ago | MIT |
| 2.0.0 | 4 years ago | MIT |
| 1.4.1 | 4 years ago | MIT |
| 1.4.0 | 4 years ago | MIT |
| 1.3.2 | 5 years ago | MIT |
| 1.3.1 | 5 years ago | MIT |
| 1.3.0 | 5 years ago | MIT |
| 1.2.0 | 5 years ago | MIT |
| 1.1.0 | 5 years ago | MIT |
| 1.0.1 | 6 years ago | MIT |
| 1.0.0 | 6 years ago | MIT |
| 0.2.2 | 6 years ago | MIT |
| 0.2.1 | 7 years ago | MIT |
| 0.2.0 | 7 years ago | MIT |
| 0.1.1 | 7 years ago | MIT |
| 0.1.0 | 11 years ago | MIT |
| 0.0.1 | 12 years ago | MIT |
| 0.0.0 | 12 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install dom-serializer?
Run `npm install dom-serializer` to add dom-serializer to your npm project.
What license is dom-serializer released under?
dom-serializer is distributed under the MIT license.
How popular is dom-serializer?
dom-serializer has approximately 0 downloads per week and 1 known dependent packages.