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
object-inspect
string representations of objects in node and the browser
124.4m+91%-1 year ago
1.13.4
CommonJSNoneDOM and browser utilities, Node.js utilities
buffer
Node.js Buffer API, for the browser
123.4m+66%-5 years ago
6.0.3
CommonJSBundledDOM and browser utilities
eventemitter3
EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.
117.2m+142%-8 months ago
5.0.4
ESM + CommonJSBundledDOM and browser utilities, Node.js utilities
queue-microtask
fast, tiny `queueMicrotask` shim for modern engines
92.3m+96%-5 years ago
1.2.3
CommonJSNonePolyfills and shims, DOM and browser utilities
domutils
Utilities for working with htmlparser2's dom
84.8m+75%-6 months ago
4.0.2
ESM onlyBundledDOM and browser utilities
ieee754
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
84.5m+74%-5 years ago
1.2.1
CommonJSBundledDOM and browser utilities, Node.js utilities
domhandler
Handler for htmlparser2 that turns pages into a dom
81.3m+80%-6 months ago
6.0.1
ESM onlyBundledDOM and browser utilities
domelementtype
all the types of nodes in htmlparser2's dom
75.5m+82%-6 months ago
3.0.0
ESM onlyBundledDOM and browser utilities
htmlparser2
Fast & forgiving HTML/XML parser
71.7m+75%-6 months ago
12.0.0
ESM onlyBundledParsers and serialisers, DOM and browser utilities
ip-address
A library for parsing IPv4 and IPv6 IP addresses in node and the browser.
66.6m+189%-9 days ago
10.7.2
CommonJSBundledDOM and browser utilities
css-select
a CSS selector compiler/engine
63.5m+68%-6 months ago
7.0.0
ESM onlyBundledDOM and browser utilities
symbol-tree
Turn any collection of objects into its own efficient tree or linked list using Symbol
58.1m+152%-7 years ago
3.2.4
CommonJSNoneDOM and browser utilities, Queues and background jobs
react-remove-scroll
Disables scroll outside of `children` node.
56m+298%-9 months ago
2.7.2
ESM + CommonJSBundledDOM and browser utilities
react-remove-scroll-bar
Removes body scroll without content _shake_
51.9m+362%-1 year ago
2.3.8
ESM + CommonJSBundledDOM and browser utilities
abort-controller
An implementation of WHATWG AbortController interface.
47.1m+92%-7 years ago
3.0.0
CommonJSNoneDOM and browser utilities, Node.js utilities
is-buffer
Determine if an object is a Buffer
41.8m+19%-5 years ago
2.0.5
CommonJSNoneDOM and browser utilities
dom-helpers
tiny modular DOM lib for ie9+
41.7m+137%-1 year ago
6.0.1
ESM + CommonJSBundledDOM and browser utilities, React
bowser
Lightweight browser detector
41.4m+142%-7 months ago
2.14.1
ESM + CommonJSBundledDOM and browser utilities
cssom
CSS Object Model implementation and CSS parser
38.5m+21%-5 years ago
0.5.0
CommonJSNoneParsers and serialisers, DOM and browser utilities
@xmldom/xmldom
A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
36.9m+236%-1 month ago
0.9.12
CommonJSBundledDOM and browser utilities, Parsers and serialisers
deep-extend
Recursive object extending
33.8m+65%-8 years ago
0.6.0
CommonJSNoneDOM and browser utilities, Node.js utilities
is-windows
Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
27.1m+30%-8 years ago
1.0.2
CommonJSNoneNode.js utilities, DOM and browser utilities
preact
Fast 3kb React-compatible Virtual DOM library.
24.4m+181%-1 month ago
10.29.8
ESM + CommonJSBundledReact, DOM and browser utilities
eslint-config-next
ESLint configuration used by Next.js.
24m+236%-2 days ago
16.3.6
CommonJSBundledStatic site generators and meta-frameworks, React
d3-selection
Data-driven DOM manipulation: select elements and join them to data.
23.5m+263%-5 years ago
3.0.0
ESM onlyNoneDOM and browser utilities, Charts and data visualisation
d3-drag
Drag and drop SVG, HTML or Canvas using mouse or touch input.
22.7m+276%-5 years ago
3.0.0
ESM onlyNoneDOM and browser utilities, Charts and data visualisation
cheerio
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
19.8m+87%-8 months ago
1.2.0
ESM + CommonJSBundledParsers and serialisers, DOM and browser utilities
typedarray-to-buffer
Convert a typed array to a Buffer without a copy
19.7m+21%-5 years ago
4.0.0
CommonJSNoneDOM and browser utilities
@azure/abort-controller
Microsoft Azure SDK for JavaScript - Aborter
19.6m---2 months ago
2.2.0
ESM + CommonJSBundledCloud SDKs, TypeScript tooling
@oozcitak/dom
A modern DOM implementation
15.9m+660%-7 months ago
3.0.0
CommonJSBundledDOM and browser utilities
isomorphic-ws
Isomorphic implementation of WebSocket
14.4m+75%-4 years ago
5.0.0
CommonJSBundledWebSockets and realtime, DOM and browser utilities
@azure/logger
Microsoft Azure SDK for JavaScript - Logger
13.6m+93%-2 months ago
1.4.0
ESM + CommonJSBundledCloud SDKs, Logging
crelt
Tiny DOM-element-creation utility
13m+229%-2 months ago
1.0.7
ESM + CommonJSBundledDOM and browser utilities
html2canvas
Screenshots with JavaScript
12.6m+229%-4 years ago
1.4.1
ESM + CommonJSBundledDOM and browser utilities
jquery
JavaScript library for DOM operations
12.3m-14%-8 months ago
4.0.0
ESM onlyNoneDOM and browser utilities
compute-scroll-into-view
The engine that powers scroll-into-view-if-needed
10.1m+76%-1 year ago
3.1.1
ESM + CommonJSBundledDOM and browser utilities, TypeScript tooling
@azure/core-lro
Isomorphic client library for supporting long-running operations in node.js and browser.
10.1m+103%-21 days ago
3.4.1
ESM + CommonJSBundledCloud SDKs, DOM and browser utilities
oauth4webapi
Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
9.8m+309%-20 days ago
3.8.8
ESM onlyBundledCloud SDKs, DOM and browser utilities
react-dropzone
Simple HTML5 drag-drop zone with React.js
9.4m+104%-10 days ago
20.1.2
ESM + CommonJSBundledDOM and browser utilities, React
file-selector
Convert DataTransfer object to a list of File objects
9.3m+104%-1 month ago
5.0.1
ESM + CommonJSBundledDOM and browser utilities
@webcontainer/env
Set of environment utilities for WebContainers
9.1m+6610%-2 years ago
1.1.1
ESM + CommonJSBundledNode.js utilities, DOM and browser utilities
copy-to-clipboard
Copy stuff into clipboard using JS with fallbacks
8.3m+31%-5 months ago
4.0.2
ESM + CommonJSBundledDOM and browser utilities
@azure/storage-blob
Microsoft Azure Storage SDK for JavaScript - Blob
7m+143%-today
12.34.0
ESM + CommonJSBundledCloud SDKs, TypeScript tooling
hast-util-from-dom
hast utility to create a tree from the DOM
5.8m+483%-1 year ago
5.0.1
ESM onlyBundledDOM and browser utilities
hast-util-from-html-isomorphic
hast utility that turns HTML into a syntax tree (while being small in browsers)
5.4m+514%-3 years ago
2.0.0
ESM onlyBundledDOM and browser utilities
re2js
RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
5.1m+4624%-2 months ago
2.8.6
ESM + CommonJSBundledDOM and browser utilities, Node.js utilities
@use-gesture/react
React target for @use-gesture
5m+330%-2 years ago
10.3.1
ESM + CommonJSBundledDOM and browser utilities, React
html-to-image
Generates an image from a DOM node using HTML5 canvas and SVG.
4.8m+421%-1 year ago
1.11.13
ESM + CommonJSBundledImage processing, DOM and browser utilities
focus-trap
Trap focus within a DOM node.
4.6m+106%-3 months ago
8.2.2
ESM + CommonJSBundledAccessibility, DOM and browser utilities
tippy.js
The complete tooltip, popover, dropdown, and menu solution for the web
4.4m+78%-4 years ago
6.3.7
ESM + CommonJSBundledDOM and browser utilities

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.

  • object-inspectstring representations of objects in node and the browser
  • bufferNode.js Buffer API, for the browser
  • eventemitter3EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.
  • queue-microtaskfast, tiny `queueMicrotask` shim for modern engines
  • domutilsUtilities for working with htmlparser2's dom
  • ieee754Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
  • domhandlerHandler for htmlparser2 that turns pages into a dom
  • domelementtypeall the types of nodes in htmlparser2's dom
  • htmlparser2Fast & forgiving HTML/XML parser
  • ip-addressA library for parsing IPv4 and IPv6 IP addresses in node and the browser.
  • css-selecta CSS selector compiler/engine
  • symbol-treeTurn any collection of objects into its own efficient tree or linked list using Symbol
  • react-remove-scrollDisables scroll outside of `children` node.
  • react-remove-scroll-barRemoves body scroll without content _shake_
  • abort-controllerAn implementation of WHATWG AbortController interface.
  • is-bufferDetermine if an object is a Buffer
  • dom-helperstiny modular DOM lib for ie9+
  • bowserLightweight browser detector
  • cssomCSS Object Model implementation and CSS parser
  • @xmldom/xmldomA pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
  • deep-extendRecursive object extending
  • is-windowsReturns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.
  • preactFast 3kb React-compatible Virtual DOM library.
  • eslint-config-nextESLint configuration used by Next.js.
  • d3-selectionData-driven DOM manipulation: select elements and join them to data.
  • d3-dragDrag and drop SVG, HTML or Canvas using mouse or touch input.
  • cheerioThe fast, flexible & elegant library for parsing and manipulating HTML and XML.
  • typedarray-to-bufferConvert a typed array to a Buffer without a copy
  • @azure/abort-controllerMicrosoft Azure SDK for JavaScript - Aborter
  • @oozcitak/domA modern DOM implementation
  • isomorphic-wsIsomorphic implementation of WebSocket
  • @azure/loggerMicrosoft Azure SDK for JavaScript - Logger
  • creltTiny DOM-element-creation utility
  • html2canvasScreenshots with JavaScript
  • jqueryJavaScript library for DOM operations
  • compute-scroll-into-viewThe engine that powers scroll-into-view-if-needed
  • @azure/core-lroIsomorphic client library for supporting long-running operations in node.js and browser.
  • oauth4webapiLow-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
  • react-dropzoneSimple HTML5 drag-drop zone with React.js
  • file-selectorConvert DataTransfer object to a list of File objects
  • @webcontainer/envSet of environment utilities for WebContainers
  • copy-to-clipboardCopy stuff into clipboard using JS with fallbacks
  • @azure/storage-blobMicrosoft Azure Storage SDK for JavaScript - Blob
  • hast-util-from-domhast utility to create a tree from the DOM
  • hast-util-from-html-isomorphichast utility that turns HTML into a syntax tree (while being small in browsers)
  • re2jsRE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
  • @use-gesture/reactReact target for @use-gesture
  • html-to-imageGenerates an image from a DOM node using HTML5 canvas and SVG.
  • focus-trapTrap focus within a DOM node.
  • tippy.jsThe complete tooltip, popover, dropdown, and menu solution for the web