1.0.0 • Published 9 years ago

check-dom v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Check if a JavaScript environment has a DOM (Document Object Model)

Install

$ git clone https://github.com/vikramcse/check-dom.git
$ cd check-dom
$ npm install --save .

Usage

var checkDOM = require('check-dom');

// In Node.js
checkDOM();
//=> false

// In the browser
checkDOM();
//=> true