Skip to content
JS
Package category

DOM and browser utilities

Query, observe, scroll, drag, clipboard and other browser helpers.

983 packages17 comparisons

Packages compared

983 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@zip.js/zip.js
A JavaScript library to zip and unzip files in the browser, Deno and Node.js
4.2m+125%-1 day ago
2.18.2
ESM + CommonJSBundledCompression and archives, DOM and browser utilities
@expo/dom-webview
A WebView specifically designed for Expo DOM components
4.2m+212305%-2 months ago
57.0.1
CommonJSBundledReact, DOM and browser utilities
dnd-core
Drag and drop sans the GUI
4.1m+78%-4 years ago
16.0.1
ESM onlyBundledDOM and browser utilities
react-dnd
Drag and Drop for React
3.9m+87%-4 years ago
16.0.1
ESM onlyBundledDOM and browser utilities, React
react-dnd-html5-backend
HTML5 backend for React DnD
3.8m+84%-4 years ago
16.0.1
ESM onlyBundledReact, DOM and browser utilities
react-intersection-observer
Monitor if a component is inside the viewport, using IntersectionObserver API
3.5m+50%-30 days ago
11.0.1
ESM + CommonJSBundledDOM and browser utilities, React
@simplewebauthn/browser
SimpleWebAuthn for Browsers
3.5m+458%-23 days ago
14.0.0
ESM + CommonJSBundledTypeScript tooling, DOM and browser utilities
react-hotkeys-hook
React hook for handling keyboard shortcuts
3.2m+149%-2 months ago
5.3.3
ESM onlyBundledDOM and browser utilities, React
@react-dnd/asap
High-priority task queue for Node.js and browsers
3.1m+69%-4 years ago
5.0.2
ESM onlyBundledQueues and background jobs, React
sortablejs
JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.
3m+53%-7 months ago
1.15.7
ESM + CommonJSNoneDOM and browser utilities, Vue
@azure/keyvault-keys
Isomorphic client library for Azure KeyVault's keys.
3m+102%-3 months ago
4.10.2
ESM + CommonJSBundledCloud SDKs, TypeScript tooling
dom-serialize
Serializes any DOM node into a String
3m+1%-10 years ago
2.2.1
CommonJSNoneDOM and browser utilities
html-react-parser
HTML to React parser.
2.7m+56%-7 days ago
6.1.8
ESM + CommonJSBundledParsers and serialisers, React
intersection-observer
A polyfill for IntersectionObserver
2.7m+50%-4 years ago
0.12.2
CommonJSNoneDOM and browser utilities
react-grid-layout
A draggable and resizable grid layout with responsive breakpoints, for React.
2.7m+225%-1 month ago
2.2.4
ESM + CommonJSBundledDOM and browser utilities, React
react-property
HTML and SVG DOM property configs used by React.
2.6m+60%-2 years ago
2.0.2
CommonJSBundledReact, DOM and browser utilities
@xobotyi/scrollbar-width
A tool to get browser's scrollbars width.
2.3m+33%-6 years ago
1.9.5
ESM + CommonJSBundledDOM and browser utilities
is-hotkey
Check whether a browser event matches a hotkey.
2.2m+66%-5 years ago
0.2.0
CommonJSNoneDOM and browser utilities
@hello-pangea/dnd
Beautiful and accessible drag and drop for lists with React
2.2m+158%-1 year ago
18.0.1
ESM + CommonJSBundledDOM and browser utilities, React
unload
Execute code when the js-process exits. On all javascript-environments
2.2m+15%-3 years ago
2.4.1
ESM + CommonJSBundledDOM and browser utilities, Node.js utilities
browser-tabs-lock
provides locking mechanism to sync across browser tabs
1.9m+294%-3 years ago
1.3.0
CommonJSNoneDOM and browser utilities, Dev servers and API mocking
rrweb-snapshot
rrweb's component to take a snapshot of DOM, aka DOM serializer
1.9m+135%-7 days ago
2.1.6
ESM + CommonJSBundledDOM and browser utilities
has-to-string-tag-x
Tests if ES6 @@toStringTag is supported.
1.8m+7%-7 years ago
2.1.2
ESM + CommonJSNoneDOM and browser utilities, Node.js utilities
has-symbol-support-x
Tests if ES6 Symbol is supported.
1.8m+1%-7 years ago
2.1.2
ESM + CommonJSNoneDOM and browser utilities, Node.js utilities
mixpanel-browser
The official Mixpanel JavaScript browser client library
1.8m+117%-16 days ago
2.83.0
ESM + CommonJSBundledDOM and browser utilities, Monitoring and error tracking
@zag-js/dom-query
The dom helper library for zag.js machines
1.6m-27%-11 days ago
1.44.0
--DOM and browser utilities
modern-screenshot
Quickly generate image from DOM node using HTML5 canvas and SVG
1.6m+337%-5 months ago
4.7.0
--DOM and browser utilities, Image processing
react-beautiful-dnd
Beautiful and accessible drag and drop for lists with React
1.6m-7%-4 years ago
13.1.1
ESM + CommonJSNoneReact, DOM and browser utilities
clipboard
Modern copy to clipboard. No Flash. Just 2kb
1.6m+9%-4 years ago
2.0.11
CommonJSBundledDOM and browser utilities
react-copy-to-clipboard
Copy-to-clipboard React component
1.6m+28%-6 months ago
5.1.1
--React, DOM and browser utilities
perfect-scrollbar
Minimalistic but perfect custom scrollbar plugin
1.4m+17%-1 year ago
1.5.6
--DOM and browser utilities
xmldom
A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
1.3m-19%-5 years ago
0.6.0
--DOM and browser utilities
body-scroll-lock
Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)
1.3m+54%-5 years ago
4.0.0-beta.0
--DOM and browser utilities, React
@fingerprintjs/fingerprintjs
Browser fingerprinting library with the highest accuracy and stability
1.2m---5 months ago
5.2.0
ESM + CommonJSBundledDOM and browser utilities
browserify
browser-side require() the node way
1.2m-22%-1 year ago
17.0.1
CommonJSNoneBundlers, DOM and browser utilities
dom-align
Align DOM Node Flexibly
1.2m+5%-3 years ago
1.12.4
ESM + CommonJSBundledDOM and browser utilities
@gitbeaker/rest
Cross Platform implementation of the GitLab API
1.2m---10 months ago
43.8.0
ESM + CommonJSBundledDOM and browser utilities, CLI tools and terminal utilities
bind-event-listener
Making binding and unbinding DOM events easier
1.1m+206%-3 years ago
3.0.0
CommonJSBundledDOM and browser utilities
scrollparent
A function to get the scrolling parent of an html element.
1.1m+112%-3 years ago
2.1.0
CommonJSNoneDOM and browser utilities
eight-colors
Eight colors for the console
1.1m+224%-5 months ago
1.3.3
ESM + CommonJSBundledCLI tools and terminal utilities, Node.js utilities
hash-wasm
Lightning fast hash functions for browsers and Node.js using hand-tuned WebAssembly binaries (MD4, MD5, SHA-1, SHA-2, SHA-3, Keccak, BLAKE2, BLAKE3, PBKDF2, Argon2, bcrypt, scrypt, Adler-32, CRC32, CRC32C, RIPEMD-160, HMAC, xxHash, SM3, Whirlpool)
1.1m+177%-1 year ago
4.12.0
ESM + CommonJSBundledCryptography and hashing, DOM and browser utilities
lenis
How smooth scroll should be
1.1m+1347%-1 month ago
1.3.26
ESM onlyBundledDOM and browser utilities, React
size-sensor
DOM element size sensor which will callback when size changed.
1m+191%-8 months ago
1.0.3
CommonJSBundledDOM and browser utilities
vuedraggable
draggable component for vue
1m+44%-5 years ago
2.24.3
ESM + CommonJSBundledDOM and browser utilities, Vue
chrome-devtools-mcp
MCP server for Chrome DevTools
1m+1621%-2 days ago
1.10.1
ESM onlyNoneDOM and browser utilities, Scraping and browser automation
hotkeys-js
A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
1m+81%-15 days ago
4.0.8
ESM + CommonJSBundledDOM and browser utilities
easy-stack
Zero-dependency cooperative LIFO execution for Node.js and browsers
1m+7%-1 month ago
2.1.1
ESM + CommonJSNoneDOM and browser utilities, Node.js utilities
copy-text-to-clipboard
Copy text to the clipboard in modern browsers (0.2 kB)
974.2k+83%-1 year ago
3.2.2
ESM onlyBundledDOM and browser utilities
iserror
Test whether value is error object
966.8k+29%-9 years ago
0.0.2
CommonJSNoneDOM and browser utilities, Testing
node-liblzma
Native Node.js bindings for liblzma (XZ/LZMA2). Streaming, buffer and async APIs with browser support via WebAssembly. zlib-like API, TypeScript-first, prebuilt binaries for Linux/macOS/Windows.
966.7k+479536%-11 days ago
5.1.3
ESM onlyBundledCompression and archives, TypeScript tooling

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • @zip.js/zip.jsA JavaScript library to zip and unzip files in the browser, Deno and Node.js
  • @expo/dom-webviewA WebView specifically designed for Expo DOM components
  • dnd-coreDrag and drop sans the GUI
  • react-dndDrag and Drop for React
  • react-dnd-html5-backendHTML5 backend for React DnD
  • react-intersection-observerMonitor if a component is inside the viewport, using IntersectionObserver API
  • @simplewebauthn/browserSimpleWebAuthn for Browsers
  • react-hotkeys-hookReact hook for handling keyboard shortcuts
  • @react-dnd/asapHigh-priority task queue for Node.js and browsers
  • sortablejsJavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.
  • @azure/keyvault-keysIsomorphic client library for Azure KeyVault's keys.
  • dom-serializeSerializes any DOM node into a String
  • html-react-parserHTML to React parser.
  • intersection-observerA polyfill for IntersectionObserver
  • react-grid-layoutA draggable and resizable grid layout with responsive breakpoints, for React.
  • react-propertyHTML and SVG DOM property configs used by React.
  • @xobotyi/scrollbar-widthA tool to get browser's scrollbars width.
  • is-hotkeyCheck whether a browser event matches a hotkey.
  • @hello-pangea/dndBeautiful and accessible drag and drop for lists with React
  • unloadExecute code when the js-process exits. On all javascript-environments
  • browser-tabs-lockprovides locking mechanism to sync across browser tabs
  • rrweb-snapshotrrweb's component to take a snapshot of DOM, aka DOM serializer
  • has-to-string-tag-xTests if ES6 @@toStringTag is supported.
  • has-symbol-support-xTests if ES6 Symbol is supported.
  • mixpanel-browserThe official Mixpanel JavaScript browser client library
  • @zag-js/dom-queryThe dom helper library for zag.js machines
  • modern-screenshotQuickly generate image from DOM node using HTML5 canvas and SVG
  • react-beautiful-dndBeautiful and accessible drag and drop for lists with React
  • clipboardModern copy to clipboard. No Flash. Just 2kb
  • react-copy-to-clipboardCopy-to-clipboard React component
  • perfect-scrollbarMinimalistic but perfect custom scrollbar plugin
  • xmldomA pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
  • body-scroll-lockEnables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)
  • @fingerprintjs/fingerprintjsBrowser fingerprinting library with the highest accuracy and stability
  • browserifybrowser-side require() the node way
  • dom-alignAlign DOM Node Flexibly
  • @gitbeaker/restCross Platform implementation of the GitLab API
  • bind-event-listenerMaking binding and unbinding DOM events easier
  • scrollparentA function to get the scrolling parent of an html element.
  • eight-colorsEight colors for the console
  • hash-wasmLightning fast hash functions for browsers and Node.js using hand-tuned WebAssembly binaries (MD4, MD5, SHA-1, SHA-2, SHA-3, Keccak, BLAKE2, BLAKE3, PBKDF2, Argon2, bcrypt, scrypt, Adler-32, CRC32, CRC32C, RIPEMD-160, HMAC, xxHash, SM3, Whirlpool)
  • lenisHow smooth scroll should be
  • size-sensorDOM element size sensor which will callback when size changed.
  • vuedraggabledraggable component for vue
  • chrome-devtools-mcpMCP server for Chrome DevTools
  • hotkeys-jsA simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
  • easy-stackZero-dependency cooperative LIFO execution for Node.js and browsers
  • copy-text-to-clipboardCopy text to the clipboard in modern browsers (0.2 kB)
  • iserrorTest whether value is error object
  • node-liblzmaNative Node.js bindings for liblzma (XZ/LZMA2). Streaming, buffer and async APIs with browser support via WebAssembly. zlib-like API, TypeScript-first, prebuilt binaries for Linux/macOS/Windows.