2.20.0 • Published 4 months ago

min-documentx v2.20.0

Weekly downloads
2
License
-
Repository
github
Last release
4 months ago

min-document

build status dependency status

A minimal DOM implementation

Example

var document = require("min-document")

var div = document.createElement("div")
div.className = "foo bar"

var span = document.createElement("span")
div.appendChild(span)
span.textContent = "Hello!"

/*  <div class="foo bar">
        <span>Hello!</span>
    </div>
*/
var html = String(div)

Installation

npm install min-document

Contributors

  • Raynos

MIT Licenced

2.20.0

4 months ago

2.19.0

8 years ago

2.17.2

8 years ago

2.17.1

8 years ago