React Native DOM Parser

JSON →
library 1.5.3 ·javascript
verified May 27, 2026

react-native-dom-parser is a JavaScript DOM parser specifically designed for environments where standard browser DOM APIs or Node.js DOM implementations are not available, such as within React Native applications. It operates by parsing HTML strings using JavaScript regular expressions, making it lightweight and highly portable across various JavaScript ecosystems including React, React Native, and Vue. The current stable version is 1.5.3. Its primary differentiator is its complete independence from specific host environments, relying solely on regex for parsing. While this offers broad compatibility, it can introduce limitations compared to robust, spec-compliant parsers, particularly concerning edge cases in malformed HTML. The library provides a subset of standard DOM-like query methods including `getElementById`, `getElementsByClassName`, `getElementsByTagName`, and `getElementsByName`, returning a custom node structure (`ElementNode` and `TextNode`). Planned future enhancements include the addition of `querySelector` and `querySelectorAll` capabilities.

total hits 16
actors 5 distinct systems
last hit 1d ago human
GPTBot
5
MetaBot
4
Script
1
ClaudeBot
1
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France