Socket
Socket
Sign inDemoInstall

is-dom

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "is-dom",
"version": "1.0.0",
"version": "1.0.1",
"description": "Check if the given object is a dom node",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -16,5 +16,5 @@ # is-dom

```js
var checkIfDOM = require('is-dom');
var isDom = require('is-dom');
checkIfDom(window.document);
isDom(window.document);
// => true

@@ -21,0 +21,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc