dom-serializer
Version:
render domhandler DOM nodes to a string
70 lines (69 loc) • 1.71 kB
JSON
{
"type": "module",
"name": "dom-serializer",
"version": "3.1.1",
"description": "render domhandler DOM nodes to a string",
"author": "Felix Boehm <me@feedic.com>",
"sideEffects": false,
"keywords": [
"html",
"xml",
"render"
],
"repository": {
"type": "git",
"url": "git://github.com/cheeriojs/dom-serializer.git"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"src",
"!**/*.spec.ts",
"!**/*.bench.ts"
],
"dependencies": {
"domelementtype": "^3.0.0",
"domhandler": "^6.0.0",
"entities": "^8.0.0"
},
"devDependencies": {
"@biomejs/biome": "^2.4.14",
"@eslint/compat": "^2.0.5",
"@feedic/eslint-config": "^0.4.1",
"@types/node": "^25.6.0",
"cheerio": "^1.2.0",
"eslint": "^10.3.0",
"eslint-config-biome": "^2.1.3",
"typescript": "^6.0.2",
"typescript-eslint": "^8.59.1",
"vitest": "^4.1.5"
},
"engines": {
"node": ">=20.19.0"
},
"scripts": {
"build": "tsc",
"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:ts && npm run lint:biome",
"lint:biome": "biome check .",
"lint:es": "eslint .",
"lint:ts": "tsc --noEmit -p tsconfig.eslint.json",
"prepare": "npm run build",
"test": "npm run test:vi && npm run lint",
"test:vi": "vitest run"
},
"funding": {
"type": "github",
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
},
"license": "MIT"
}