Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.0.0 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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc