Skip to content

Repository files navigation

min-document

build statusdependency status

A minimal DOM implementation

Example

vardocument=require("min-document")vardiv=document.createElement("div")div.className="foo bar"varspan=document.createElement("span")div.appendChild(span)span.textContent="Hello!"/* <div class="foo bar"> <span>Hello!</span> </div>*/varhtml=String(div)

Installation

npm install min-document

Contributors

  • Raynos

MIT Licenced

About

A minimal DOM implementation

Resources

Stars

4 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages