{"name":"@oozcitak/dom","version":"2.0.0","keywords":["dom","whatwg"],"author":{"name":"Ozgur Ozcitak","email":"oozcitak@gmail.com"},"license":"MIT","_id":"@oozcitak/dom@2.0.0","maintainers":[{"name":"oozcitak","email":"oozcitak@gmail.com"}],"contributors":[],"homepage":"http://github.com/oozcitak/dom","bugs":{"url":"http://github.com/oozcitak/dom/issues"},"dist":{"shasum":"c96416f2e00131d01a82b9ddc7f500a1bcab4e6b","tarball":"http://registry-npm.ywwl.com/@oozcitak/dom/download/@oozcitak/dom-2.0.0.tgz","fileCount":267,"integrity":"sha512-aQmFIfCPCtekfpksdwvEe42zbWdEZevzbR0HlKEbVUjSGHWZZe3Sf25QtEZP5N7T0+3CFjcSu+OAcDbfjY8qfg==","signatures":[{"sig":"MEUCIGr0GaLxM7wnwTPUR7hVj5wrEQAFIdsqaxbsZ+dHxMCQAiEAsi8httQpxq7tBUouG1cicRbQzwhNUkOxa/zzBsgtLOQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1137833,"size":196613,"noattachment":false,"key":"/@oozcitak/dom/-/@oozcitak/dom-2.0.0.tgz"},"main":"./lib/index","types":"./lib/index.d.ts","engines":{"node":">=20.0"},"gitHead":"2e73f641e8d2c58a4cb5c2c5b6e5a69c4d8673d8","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.0","@oozcitak/util":"^9.0.1","@oozcitak/infra":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","dedent":"^1.7.0","typescript":"^5.9.3","@types/node":"^20.0.0","@types/dedent":"^0.7.2"},"_npmOperationalInternal":{"tmp":"tmp/dom_2.0.0_1759841963593_0.19204344373119775","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":1759841963836,"_cnpm_publish_time":1759841963836,"dist-tags":{"latest":"3.0.0"}}