{
  "name": "linkedom",
  "version": "0.18.9",
  "description": "A triple-linked lists based DOM implementation",
  "main": "./cjs/index.js",
  "types": "./types/index.d.ts",
  "scripts": {
    "benchmark": "node test/benchmark/linkedom.js",
    "benchmark:w3c": "node test/benchmark/linkedom.js --w3c; node test/benchmark/linkedom-cached.js --w3c; node test/benchmark/jsdom.js --w3c; node test/benchmark/basichtml.js --w3c",
    "benchmark:w3c:ce": "node test/benchmark/linkedom.js --w3c --custom-elements; node test/benchmark/linkedom-cached.js --w3c --custom-elements; node test/benchmark/jsdom.js --w3c --custom-elements; node test/benchmark/basichtml.js --w3c --custom-elements",
    "benchmark:dom": "node test/benchmark/linkedom.js --dom; node test/benchmark/linkedom-cached.js --dom; node test/benchmark/jsdom.js --dom; node test/benchmark/basichtml.js --dom",
    "benchmark:dom:ce": "node test/benchmark/linkedom.js --dom --custom-elements; node test/benchmark/linkedom-cached.js --dom --custom-elements; node test/benchmark/jsdom.js --dom --custom-elements; node test/benchmark/basichtml.js --dom --custom-elements",
    "benchmark:html": "node test/benchmark/jsdon.js --html; node test/benchmark/linkedom.js --html; node test/benchmark/linkedom-cached.js --html; #node test/benchmark/jsdom.js --html",
    "benchmark:html:ce": "node test/benchmark/linkedom.js --html --custom-elements; node test/benchmark/linkedom-cached.js --html --custom-elements; #node test/benchmark/jsdom.js --html --custom-elements",
    "benchmark:html:mo": "node test/benchmark/linkedom.js --html --mutation-observer --custom-elements; node test/benchmark/linkedom-cached.js --html --mutation-observer --custom-elements",
    "benchmark:html:nc": "node test/benchmark/linkedom.js --html --no-clone; node test/benchmark/linkedom-cached.js --html --no-clone; #node test/benchmark/jsdom.js --html --no-clone",
    "build": "npm run tsc && npm run cjs && rollup -c rollup/es.config.js && npm run test",
    "cjs": "ascjs --no-default esm cjs",
    "tsc": "tsc -p .",
    "hello": "node --input-type=module -e \"import {DOMParser} from './esm/index.js';console.log('\\x1b[7m\\x1b[1m',(new DOMParser).parseFromString('<html>LinkeDOM<canvas /></html>','text/html').querySelectorAll('html')[0].firstChild.toString(),'\\x1b[0m')\"",
    "test": "eslint esm/ && npm run hello && node test/benchmark/linkedom.js --w3c --mutation-observer --custom-elements && c8 node test/index.js && c8 report -r html",
    "coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info"
  },
  "keywords": [
    "DOM",
    "JSDOM",
    "alternative",
    "performance",
    "lightweight"
  ],
  "author": "Andrea Giammarchi",
  "license": "ISC",
  "devDependencies": {
    "@rollup/plugin-commonjs": "^28.0.2",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-node-resolve": "^16.0.0",
    "ascjs": "^6.0.3",
    "c8": "^10.1.3",
    "eslint": "8.57.1",
    "rollup": "^4.34.6",
    "typescript": "5.4.2"
  },
  "module": "./esm/index.js",
  "type": "module",
  "exports": {
    ".": {
      "types": "./types/esm/index.d.ts",
      "import": "./esm/index.js",
      "default": "./cjs/index.js"
    },
    "./cached": {
      "types": "./types/esm/index.d.ts",
      "import": "./esm/cached.js",
      "default": "./cjs/cached.js"
    },
    "./package.json": "./package.json",
    "./worker": {
      "types": "./types/esm/index.d.ts",
      "import": "./worker.js"
    }
  },
  "typesVersions": {
    "*": {
      "cached": [
        "./types/esm/index.d.ts"
      ],
      "worker": [
        "./types/esm/index.d.ts"
      ]
    }
  },
  "dependencies": {
    "css-select": "^5.1.0",
    "cssom": "^0.5.0",
    "html-escaper": "^3.0.3",
    "htmlparser2": "^10.0.0",
    "uhyphen": "^0.2.0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/WebReflection/linkedom.git"
  },
  "bugs": {
    "url": "https://github.com/WebReflection/linkedom/issues"
  },
  "homepage": "https://github.com/WebReflection/linkedom#readme"
}
