An open API service indexing awesome lists of open source software.

https://github.com/0xedward/dom-visualizer

Visualize the DOM tree created by your browser for any HTML input
https://github.com/0xedward/dom-visualizer

Last synced: about 2 months ago
JSON representation

Visualize the DOM tree created by your browser for any HTML input

Awesome Lists containing this project

README

        

# DOM Visualizer
[DOM Visualizer](https://0xedward.github.io/dom-visualizer/) was created for developers to view the DOM created by their browser for any HTML input. DOM Visualizer creates and displays the hierarchical relationship between different HTML tags.


DOM Visualizer sample output

# Supported Browsers
DOM Visualizer relies on the [DOMParser API](https://caniuse.com/xml-serializer) to parse HTML input strings. Currently, most browsers are supported except for Opera Mini.

# Development Setup
1. Clone the repository
```bash
git clone https://github.com/0xedward/dom-visualizer.git
```
2. Install development dependencies
```bash
cd dom-visualizer && npm install
```
3. Start server with live reload
```bash
npm start
```