{"name":"@oozcitak/dom","version":"3.0.0","keywords":["dom","whatwg"],"homepage":"http://github.com/oozcitak/dom","description":"A modern DOM implementation","author":{"name":"Ozgur Ozcitak","email":"oozcitak@gmail.com"},"contributors":[],"license":"MIT","repository":{"type":"git","url":"git://github.com/oozcitak/dom.git"},"bugs":{"url":"http://github.com/oozcitak/dom/issues"},"main":"./lib/index","engines":{"node":">=20.0"},"types":"./lib/index.d.ts","dependencies":{"@oozcitak/infra":"^3.0.0","@oozcitak/url":"^4.0.0","@oozcitak/util":"^11.0.0"},"devDependencies":{"@types/node":"^24.7.0","@types/dedent":"^0.7.2","tsx":"^4.20.6","typescript":"^5.9.3","dedent":"^1.7.0"},"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"},"_id":"@oozcitak/dom@3.0.0","gitHead":"9738d54eb70c25c69d2f938404637a1b38cdab6f","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-osqTYfKIhDj7p767rDr5RsJZXDzPifVpEoga23n37pYtvpIoMrzswtJ8SRpa+SX+L36cSlYu7lxQYr0tKmuPXA==","shasum":"4c7415d4ed07af4b85a94e5c4ea3e2bc1c7d2c7c","tarball":"http://registry-npm.ywwl.com/@oozcitak/dom/download/@oozcitak/dom-3.0.0.tgz","fileCount":267,"unpackedSize":1099717,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDMECo6OB4ewg+ARmdufj7cl4gCF35tITZzRuti4RLgqgIgRApjjn296JOp+q2/M9Xdz49uwk4e13XUf9uy2b5/Ca0="}],"size":190485,"noattachment":false,"key":"/@oozcitak/dom/-/@oozcitak/dom-3.0.0.tgz"},"_npmUser":{"name":"oozcitak","email":"oozcitak@gmail.com"},"directories":{},"maintainers":[{"name":"oozcitak","email":"oozcitak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dom_3.0.0_1770133788302_0.5062378453984213"},"_hasShrinkwrap":false,"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":1770133788500,"_cnpm_publish_time":1770133788500,"dist-tags":{"latest":"3.0.0"}}