Socket
Socket
Sign inDemoInstall

@linthtml/html-parser

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@linthtml/html-parser - npm Package Compare versions

Comparing version 0.9.0-alpha.1 to 0.9.0-alpha.4

dist/lib/dom_builder.d.ts

25

package.json
{
"name": "@linthtml/html-parser",
"version": "0.9.0-alpha.1",
"version": "0.9.0-alpha.4",
"description": "LintHTML HTML parser",

@@ -8,3 +8,4 @@ "author": "BenjaminJ <kamikillerto@gmail.com>",

"license": "ISC",
"main": "lib/index.js",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"directories": {

@@ -15,3 +16,3 @@ "lib": "lib",

"files": [
"lib"
"dist"
],

@@ -23,3 +24,5 @@ "repository": {

"scripts": {
"test": "mocha '__tests__' --bail"
"clean": "rm -rf dist",
"test": "mocha -r ts-node/register '__tests__/*.ts' --bail",
"build": "tsc --build"
},

@@ -30,8 +33,14 @@ "bugs": {

"dependencies": {
"@linthtml/dom-utils": "^0.9.0-alpha.1",
"htmlparser2": "^6.1.0"
"@linthtml/dom-utils": "^0.9.0-alpha.4",
"domhandler": "^4.2.2",
"htmlparser2": "^7.1.2"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/mocha": "^9.0.0",
"@types/node": "^16.9.1",
"chai": "^4.3.4",
"mocha": "^9.1.1"
"mocha": "^9.1.1",
"ts-node": "^10.4.0",
"typescript": "^4.4.2"
},

@@ -41,3 +50,3 @@ "publishConfig": {

},
"gitHead": "11b8ae898a3e08c266c9a288cc59d354d48514e0"
"gitHead": "ada7835327aa933c1ec68e5c915259fe6c1b89d4"
}

@@ -1,11 +0,7 @@

# `linthtml-parser`
# `@linthtml/html-parser`
> TODO: description
HTML parser for LintHTML.
## Usage
The parser is base on [htmlparser2](https://www.npmjs.com/package/htmlparser2).
```
const linthtmlParser = require('linthtml-parser');
// TODO: DEMONSTRATE API
```
You should not install this package by yourself as it's by default included in [LintHTML](https://www.npmjs.com/package/@linthtml/linthtml).
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