Package Exports
- min-document
- min-document/serialize
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (min-document) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
min-document
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

