Newly Practicing Mortician
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    nanomountpublic

    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

    Downloadslast 7 days

    44

    version

    1.0.1

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar