check-dom

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i check-dom

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vikramcse