1.0.0 • Published 9 years ago
check-dom v1.0.0
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
1.0.0
9 years ago