linkedom
A triple-linked lists based DOM implementation
linkedom is a lightweight DOM implementation designed for server-side rendering and other environments without a browser DOM. Its triple-linked-list structure aims to keep operations linear and avoid recursion, excessive memory use, and call stack failures on very large documents. It provides DOMParser and parseHTML APIs that return documents, window-like objects, events, elements, and custom element support without polluting global scope. Developers can query content with CSS selectors,...