html-to-object-parser
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"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 | ||
``` |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21323
13
274
19
0
2