Nucleus Powered Mitochondria

    is-dom
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-dom package

    1.1.0 • Public • Published

    is-dom

    NPM version build status Test coverage Downloads

    Check if the given object is a dom node.

    Installation

    $ npm install is-dom

    Usage

    var isDom = require('is-dom')
     
    isDom(window.document)
    // => true

    License

    MIT

    Install

    npm i is-dom

    DownloadsWeekly Downloads

    2,722,072

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    4.22 kB

    Total Files

    6

    Last publish

    Collaborators

    • yoshuawuyts