{"name":"@oozcitak/dom","version":"2.0.2","keywords":["dom","whatwg"],"author":{"name":"Ozgur Ozcitak","email":"oozcitak@gmail.com"},"license":"MIT","_id":"@oozcitak/dom@2.0.2","maintainers":[{"name":"oozcitak","email":"oozcitak@gmail.com"}],"contributors":[],"homepage":"http://github.com/oozcitak/dom","bugs":{"url":"http://github.com/oozcitak/dom/issues"},"dist":{"shasum":"0f447f0b736aa6f36c5556ba811a44e56c71c26c","tarball":"http://registry-npm.ywwl.com/@oozcitak/dom/download/@oozcitak/dom-2.0.2.tgz","fileCount":267,"integrity":"sha512-GjpKhkSYC3Mj4+lfwEyI1dqnsKTgwGy48ytZEhm4A/xnH/8z9M3ZVXKr/YGQi3uCLs1AEBS+x5T2JPiueEDW8w==","signatures":[{"sig":"MEYCIQDpz1YRcB8BsCRvBaf18Ror0bC4LUNK6E06C/Tk9SaXtwIhAOLbMCxXh6YJ340ZaWnyyiJ0556bQ8bdxrhAFzLNGJDf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1137600,"size":196569,"noattachment":false,"key":"/@oozcitak/dom/-/@oozcitak/dom-2.0.2.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":"^3.0.0","@oozcitak/util":"^10.0.0","@oozcitak/infra":"^2.0.2"},"_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.2_1764169221686_0.49747504787269614","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":1764169221895,"_cnpm_publish_time":1764169221895,"dist-tags":{"latest":"3.0.0"}}