{"name":"@oozcitak/dom","version":"2.0.1","keywords":["dom","whatwg"],"author":{"name":"Ozgur Ozcitak","email":"oozcitak@gmail.com"},"license":"MIT","_id":"@oozcitak/dom@2.0.1","maintainers":[{"name":"oozcitak","email":"oozcitak@gmail.com"}],"contributors":[],"homepage":"http://github.com/oozcitak/dom","bugs":{"url":"http://github.com/oozcitak/dom/issues"},"dist":{"shasum":"c68f0ddb5152fa3ad2a426044cb11fbb9832b859","tarball":"http://registry-npm.ywwl.com/@oozcitak/dom/download/@oozcitak/dom-2.0.1.tgz","fileCount":267,"integrity":"sha512-Un5k8MKqGak1LQM/behcHylmGdRopBXZax19weVedEAIrOCRZooY+MvX4Ehcz0ftOEPgYZ7vjIm/+MokVBFO3w==","signatures":[{"sig":"MEUCIBAFRM54gjcqnQ26aREo4CizbB3i0gh00Ky45caWZFPcAiEAyp6/xF96+ENzBdwrTK4hrQ8OfE9cO9TA3sUF1itZlAQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1137599,"size":196569,"noattachment":false,"key":"/@oozcitak/dom/-/@oozcitak/dom-2.0.1.tgz"},"main":"./lib/index","types":"./lib/index.d.ts","engines":{"node":">=20.0"},"gitHead":"6e1b7b27312fbfb364d29e8feb9f687964be20cb","scripts":{"test":"tsc && tsx --test --experimental-test-coverage test/**/*test.ts","cover":"tsc && tsx --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=./coverage/lcov.info test/**/*test.ts","publish-public":"tsc && npm run cover && npm publish --access public"},"_npmUser":{"name":"oozcitak","email":"oozcitak@gmail.com"},"repository":{"url":"git://github.com/oozcitak/dom.git","type":"git"},"_npmVersion":"11.6.0","description":"A modern DOM implementation","directories":{},"_nodeVersion":"24.9.0","dependencies":{"@oozcitak/url":"^2.0.1","@oozcitak/util":"^9.0.2","@oozcitak/infra":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","dedent":"^1.7.0","typescript":"^5.9.3","@types/node":"^24.7.0","@types/dedent":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/dom_2.0.1_1759922733302_0.784426907967334","host":"s3://npm-registry-packages-npm-production"},"readme":"# DOM\nA Javascript implementation of the [DOM Living Standard](https://dom.spec.whatwg.org/).\n\n[![License](http://img.shields.io/npm/l/@oozcitak/dom.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n[![NPM Version](https://img.shields.io/npm/v/@oozcitak/dom?logo=npm&style=flat-square)](https://www.npmjs.com/package/@oozcitak/dom)\n\n[![Node.js CI](https://github.com/oozcitak/dom/workflows/build/badge.svg)](https://github.com/oozcitak/dom/actions)\n[![Code Coverage](https://codecov.io/gh/oozcitak/dom/branch/master/graph/badge.svg)](https://codecov.io/gh/oozcitak/dom)\n\n# Version\nCurrent version implements the standard as of commit [57512fa](https://dom.spec.whatwg.org/commit-snapshots/57512fac17cf2f1c4c85be4aec178c8086ee5ee4/) (Last Updated 24 September 2019).\n\nThis DOM implementation is for _XML documents only_.\n\n# Installation\n```\nnpm install @oozcitak/dom\n```\n\n# Usage\nCreate an instance of the [`DOMImplementation`](https://dom.spec.whatwg.org/#interface-domimplementation) class to construct the DOM tree.\n\n```js\nconst { DOMImplementation } = require(\"@oozcitak/dom\");\n\nconst dom = new DOMImplementation();\nconst doc = dom.createDocument('ns', 'root');\n```\n\nThe module also exports [`DOMParser`](https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#domparser) and [`XMLSerializer`](https://w3c.github.io/DOM-Parsing/#the-xmlserializer-interface) classes as in the browser.\n","publish_time":1759922733538,"_cnpm_publish_time":1759922733538,"dist-tags":{"latest":"3.0.0"}}