New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

html-to-object-parser

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-to-object-parser - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

browser.html

2

package.json
{
"name": "html-to-object-parser",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/htmlToObject.cjs.js",

@@ -1,1 +0,18 @@

# html-to-object-parser
# HTML to Object Parser
A simple library that converts an HTML string into a structured JavaScript object. Useful for parsing and manipulating HTML in a structured format.
## Features
- Converts HTML elements to JavaScript objects with tags, styles, text content, and children.
- Handles inline styles and converts them to JavaScript objects.
- Supports class and ID attributes.
- Designed to work both in Node.js and the browser.
## Installation
You can install the package using npm:
```bash
npm install html-to-object-parser
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc