包详细信息

in-window

kristoferjoseph18Apache-2.02.0.0

test whether in browser

window, test, browse

自述文件

in-window

function that tells you if the global window object exists.

install

npm i in-window --save

usage

var inWindow = require('in-window')

inWindow && window.document.querySelector('.thing')