🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

bti-dom-utils

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bti-dom-utils - npm Package Compare versions

Comparing version

to
1.0.1

3

lib/dom-utils.js

@@ -11,3 +11,4 @@ /** @module dom-utils */

*/
var Cursor = function(node, index) {
var Cursor =
exports.Cursor = function(node, index) {
if (!isNode(node)) throw new Error("Expecting node for cursor.");

@@ -14,0 +15,0 @@ this.node = node;

{
"name": "bti-dom-utils",
"version": "1.0.0",
"version": "1.0.1",
"description": "A semi-random collection of useful DOM tools.",

@@ -5,0 +5,0 @@ "author": "Beneath the Ink <info@beneaththeink.com>",

@@ -19,4 +19,8 @@ # DOM Utilities

This library is just a plain object with several methods on it.
This library is just a plain object with several methods on it. Here is quick example of usage.
```javascript
DOMUtils.contains(document, document.body); // true
```
## Documentation

@@ -23,0 +27,0 @@