Nacho Portion Monitor

    nanomount

    1.0.1 • Public • Published

    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

    Install

    npm i nanomount

    DownloadsWeekly Downloads

    20

    Version

    1.0.1

    License

    none

    Last publish

    Collaborators

    • mafintosh
    • benlyn
    • s3ththompson
    • substack
    • yoshuawuyts
    • bret
    • lrlna
    • yerkopalma
    • juliangruber
    • timwis
    • ahdinosaur
    • toddself
    • sethvincent
    • maxogden
    • shama
    • freeman-lab
    • feross
    • emilbayes
    • colingourlay
    • jameskyburz
    • almost
    • slaskis
    • ungoldman
    • graforlock
    • tornqvist
    • amongiants
    • goto-bus-stop