UNPKG

domhandler

Version:

Handler for htmlparser2 that turns pages into a dom

66 lines (65 loc) 1.91 kB
{ "type": "module", "name": "domhandler", "version": "6.0.1", "description": "Handler for htmlparser2 that turns pages into a dom", "author": "Felix Boehm <me@feedic.com>", "funding": { "type": "github", "url": "https://github.com/fb55/domhandler?sponsor=1" }, "license": "BSD-2-Clause", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "sideEffects": false, "files": [ "dist" ], "scripts": { "build": "tsc", "build:docs": "typedoc --hideGenerator --plugin typedoc-plugin-missing-exports src/index.ts", "format": "npm run format:es && npm run format:biome", "format:biome": "biome check --write .", "format:es": "npm run lint:es -- --fix", "lint": "npm run lint:es && npm run lint:biome", "lint:biome": "biome check .", "lint:es": "eslint .", "prepublishOnly": "npm run build", "test": "npm run test:vi && npm run lint", "test:vi": "vitest run" }, "repository": { "type": "git", "url": "git://github.com/fb55/domhandler.git" }, "keywords": [ "dom", "htmlparser2" ], "engines": { "node": ">=20.19.0" }, "dependencies": { "domelementtype": "^3.0.0" }, "devDependencies": { "@biomejs/biome": "^2.4.7", "@eslint/compat": "^2.0.3", "@feedic/eslint-config": "^0.3.1", "@types/node": "^25.5.0", "eslint": "^10.0.3", "eslint-config-biome": "^2.1.3", "htmlparser2": "^10.1.0", "typedoc": "^0.27.9", "typedoc-plugin-missing-exports": "^3.1.0", "typescript": "^5.8.3", "typescript-eslint": "^8.57.1", "vitest": "^4.0.18" } }