SkillAgentSearch skills...

Nanomount

Mount a DOM tree on a target node

Install / Use

/learn @choojs/Nanomount
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

nanomount stability

npm version build status test coverage downloads js-standard-style

Mount a DOM tree on a target node.

Usage

var nanomount = require('nanomount')
var html = require('bel')

var tree = html`
  <body>
    <h1>hello planet</h1>
  </body>
`

nanomount(document.body, tree)

API

nanomount(targetNode, newNode)

Mount a DOM tree on target node.

License

MIT

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated4y ago
Forks2

Languages

JavaScript

Security Score

75/100

Audited on Jun 4, 2021

No findings