A Javascript implementation of the DOM Living Standard.
Current version implements the standard as of commit 57512fa (Last Updated 24 September 2019).
This DOM implementation is for XML documents only.
npm install @oozcitak/dom
Create an instance of the DOMImplementation
class to construct the DOM tree.
const { DOMImplementation } = require("@oozcitak/dom");
const dom = new DOMImplementation();
const doc = dom.createDocument('ns', 'root');
The module also exports DOMParser
and XMLSerializer
classes as in the browser.