huanggang 03a863fb53 add node_modules пре 7 година
..
event 03a863fb53 add node_modules пре 7 година
test 03a863fb53 add node_modules пре 7 година
.jshintrc 03a863fb53 add node_modules пре 7 година
.npmignore 03a863fb53 add node_modules пре 7 година
.testem.json 03a863fb53 add node_modules пре 7 година
.travis.yml 03a863fb53 add node_modules пре 7 година
CONTRIBUTION.md 03a863fb53 add node_modules пре 7 година
LICENCE 03a863fb53 add node_modules пре 7 година
README.md 03a863fb53 add node_modules пре 7 година
docs.mli 03a863fb53 add node_modules пре 7 година
document.js 03a863fb53 add node_modules пре 7 година
dom-comment.js 03a863fb53 add node_modules пре 7 година
dom-element.js 03a863fb53 add node_modules пре 7 година
dom-fragment.js 03a863fb53 add node_modules пре 7 година
dom-text.js 03a863fb53 add node_modules пре 7 година
event.js 03a863fb53 add node_modules пре 7 година
index.js 03a863fb53 add node_modules пре 7 година
package.json 03a863fb53 add node_modules пре 7 година
serialize.js 03a863fb53 add node_modules пре 7 година

README.md

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