Files
release-action/node_modules/min-document
Nick Cipollo 1df3b9d90d
Some checks failed
PR Checks / check_pr (push) Has been cancelled
Prepare release 1.7.2
2020-07-20 19:20:24 -04:00
..
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00
2020-07-20 19:20:24 -04:00

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