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
react-native-listener
A utility component to allow easy access to browser native events
17.5k-8%-7 years ago
1.1.0
CommonJSNoneReact, DOM and browser utilities
react-dom-instance
Get react component instances from a DOM node
17.2k+517%-6 years ago
2.0.0
CommonJSNoneReact, Testing
sweet-scroll
Modern and the sweet smooth scroll library.
16.9k+118%-7 years ago
4.0.0
CommonJSBundledDOM and browser utilities, Animation
dom-anchor-text-position
Convert between DOM Range instances and text positions.
16.9k+1150%-6 years ago
5.0.0
CommonJSNoneDOM and browser utilities
adze
A universal, modern, and extendable logging library for JavaScript and TypeScript.
16.6k+134%-8 months ago
2.3.0
ESM onlyBundledLogging, TypeScript tooling
react-native-drax
A drag and drop system for React Native
16.5k+131%-6 months ago
1.1.0
CommonJSBundledDOM and browser utilities, React
@a11y/focus-trap
A lightweight web component that traps focus within a DOM node
16.5k---6 years ago
1.0.5
ESM + CommonJSBundledAccessibility, DOM and browser utilities
server-dom-shim
A simple shim for the server-side DOM API
16.4k+214%-9 months ago
1.1.0
ESM onlyBundledDOM and browser utilities
vue3-smooth-dnd
Drag & drop / sortable components for Vue 3. Bundles a maintained fork of smooth-dnd, ships TypeScript types.
16.2k+19%-14 days ago
1.0.0
ESM + CommonJSBundledDOM and browser utilities, Vue
domconstants
Commonly used DOM constants for various projects.
16k+40%-2 years ago
1.1.6
ESM onlyBundledDOM and browser utilities
editorjs-drag-drop
Drag and Drop feature for Editor.js
16k-26%-2 years ago
1.1.16
CommonJSNoneDOM and browser utilities
rescript-webapi
ReScript bindings to the DOM and other Web APIs
15.5k+353%-1 year ago
0.10.0
-NoneDOM and browser utilities
react-quick-pinch-zoom
A react component that providing multi-touch gestures for zooming and dragging on any DOM element.
15.4k+28%-10 months ago
5.1.1
ESM + CommonJSBundledReact, DOM and browser utilities
visual-dom-diff
Highlight differences between two DOM trees.
15.4k+291%-1 year ago
0.7.3
CommonJSBundledDOM and browser utilities
@polymer/iron-scroll-target-behavior
Allows to define a scroller target
15.1k---8 years ago
3.0.1
CommonJSNoneDOM and browser utilities
@svelte-put/copy
Svelte action & utilities for copying text to clipboard
15.1k---1 year ago
4.0.0
ESM onlyBundledSvelte, DOM and browser utilities
pinch-zoom-js
Browser library for multi-touch gestures to zoom and drag on any DOM element.
15.1k+68%-4 years ago
2.3.5
ESM + CommonJSBundledDOM and browser utilities
vue3-dropzone
It's inspired by [react-dropzone](https://github.com/react-dropzone/react-dropzone) and implemented with vue3.
14.8k+6%-2 years ago
2.2.1
ESM + CommonJSBundledVue, Files and file systems
rc-scrollbars
React scrollbars component
14.5k+27%-3 years ago
1.1.6
CommonJSBundledDOM and browser utilities, React
vue2-perfect-scrollbar
Vue.js wrapper for perfect scrollbar
14.3k-12%-3 years ago
1.5.56
ESM + CommonJSBundledVue, DOM and browser utilities
locomotive-scroll
Detection of elements in viewport & smooth scrolling with parallax effects.
14.2k+9%-8 months ago
5.0.1
ESM + CommonJSBundledDOM and browser utilities
jsx-dom-cjs
JSX to document.createElement.
14.2k+29%-1 year ago
8.1.6
CommonJSBundledDOM and browser utilities
@rpldy/retry-hooks
useful hooks for the retry functionality from @rpldy/retry
14.1k---9 months ago
1.13.0
ESM + CommonJSBundledFiles and file systems, React
arrive
arrive.js provides events to watch for DOM elements creation and removal. It makes use of Mutation Observers internally.
14k+26%--
2.5.3
CommonJSNoneDOM and browser utilities
react-scroll-up
React component to render element for scroll to top of page
13.7k+27%-3 years ago
1.4.0
CommonJSBundledReact, Animation
@better-scroll/mouse-wheel
support for MouseWheel in PC
13.6k---3 years ago
2.5.1
ESM + CommonJSBundledDOM and browser utilities, TypeScript tooling
dom-to-pdf
Generates a printable paginated pdf from DOM node using HTML5 canvas and svg.
13.6k-49%-3 years ago
0.3.2
CommonJSNoneDOM and browser utilities, PDF and documents
@joyfill/react-grid-layout
A draggable and resizable grid layout with responsive breakpoints, for React.
13.6k---1 year ago
1.5.1
CommonJSNoneDOM and browser utilities, React
@cerbos/hub
Client library for interacting with Cerbos Hub from server-side Node.js applications
13.4k---10 days ago
0.6.2
ESM onlyBundledSecurity, Node.js utilities
@katoid/angular-grid-layout
Grid Layout with draggable and resizable items for Angular
13.3k---1 year ago
3.1.0
ESM + CommonJSBundledAngular, DOM and browser utilities
svelte-tiny-virtual-list
A tiny but mighty list virtualization component for svelte, with zero dependencies 💪
13.2k+81%-1 month ago
4.0.0
ESM onlyBundledSvelte, DOM and browser utilities
clipboard-js
A web shim to handle clipboard APIs across browsers using a simple Promise API.
13.2k+59%--
0.3.6
CommonJSNoneDOM and browser utilities, Polyfills and shims
@github/paste-markdown
Paste spreadsheet cells as a Markdown table.
13.1k---2 years ago
1.5.3
ESM onlyBundledMarkdown, Parsers and serialisers
dom-classlist
Cross-browser element (including SVG) class list manipulation
12.9k+45%-12 years ago
1.0.1
-NoneDOM and browser utilities
ngx-page-scroll-core
Animated scrolling functionality for angular written in pure typescript
12.7k+11%-2 months ago
17.0.0
ESM onlyBundledDOM and browser utilities, Angular
browser-interaction-time
<p align="left"> <img src="https://raw.githubusercontent.com/atlassian/browser-interaction-time/master/bit.png" width="200" /> </p>
12.7k+15%--
3.0.0
ESM + CommonJSBundledDate and time, TypeScript tooling
focus-layers
Tiny (~1Kb) React hooks for isolating focus within subsections of the DOM.
12.5k+52%-5 years ago
0.6.1
ESM + CommonJSBundledAccessibility, React
vue3-clipboard
A Vuejs3 binding for clipboard.js
12.5k-25%-5 years ago
1.0.0
ESM + CommonJSNoneDOM and browser utilities, Vue
ic0
An easy-to-use JavaScript API for the Internet Computer.
12.5k-44%-1 year ago
0.3.2
CommonJSBundledBlockchain and Web3, DOM and browser utilities
react-smooth-dnd
Drag and Drop library
12.4k-3%-6 years ago
0.11.1
CommonJSBundledDOM and browser utilities, React
@thisux/sveltednd
A lightweight, flexible drag and drop library for Svelte 5 applications. Open source by THISUX Private Limited.
12.2k---24 days ago
0.8.0
ESM + CommonJSBundledDOM and browser utilities, Svelte
jsx-dom
JSX to document.createElement.
12.2k+73%-1 year ago
8.1.6
ESM onlyBundledDOM and browser utilities
@kpmck/ag-grid-core
Framework-agnostic AG Grid DOM helpers for Node-based test tooling
12k---3 months ago
1.0.1
ESM onlyBundledTesting, Scraping and browser automation
scrollmonitor
A simple and fast API to monitor DOM elements as you scroll
12k+6%-3 years ago
1.2.11
ESM + CommonJSBundledDOM and browser utilities
ember-infinity
Simple, flexible infinite scroll for Ember CLI Apps.
11.8k+82%-1 year ago
3.0.2
CommonJSNoneDOM and browser utilities
browser-id3-writer
JavaScript library for writing ID3 tag to MP3 files in browsers and Node.js
11.8k-29%-1 month ago
6.4.0
CommonJSBundledDOM and browser utilities, Node.js utilities
yace
tiny text editor with plugins
11.7k+51207%-6 days ago
1.1.1
ESM onlyBundledMarkdown, React
@better-scroll/wheel
a BetterScroll plugin to imitate IOS Picker
11.7k---3 years ago
2.5.1
ESM + CommonJSBundledDOM and browser utilities, TypeScript tooling
vue3-moveable
A Vue 3 Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
11.5k+204%-2 years ago
0.28.0
ESM onlyBundledVue, DOM and browser utilities
svelte-inview
A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.
11.4k+64%-1 year ago
4.0.4
ESM + CommonJSBundledDOM and browser utilities, Svelte

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.

  • react-native-listenerA utility component to allow easy access to browser native events
  • react-dom-instanceGet react component instances from a DOM node
  • sweet-scrollModern and the sweet smooth scroll library.
  • dom-anchor-text-positionConvert between DOM Range instances and text positions.
  • adzeA universal, modern, and extendable logging library for JavaScript and TypeScript.
  • react-native-draxA drag and drop system for React Native
  • @a11y/focus-trapA lightweight web component that traps focus within a DOM node
  • server-dom-shimA simple shim for the server-side DOM API
  • vue3-smooth-dndDrag & drop / sortable components for Vue 3. Bundles a maintained fork of smooth-dnd, ships TypeScript types.
  • domconstantsCommonly used DOM constants for various projects.
  • editorjs-drag-dropDrag and Drop feature for Editor.js
  • rescript-webapiReScript bindings to the DOM and other Web APIs
  • react-quick-pinch-zoomA react component that providing multi-touch gestures for zooming and dragging on any DOM element.
  • visual-dom-diffHighlight differences between two DOM trees.
  • @polymer/iron-scroll-target-behaviorAllows to define a scroller target
  • @svelte-put/copySvelte action & utilities for copying text to clipboard
  • pinch-zoom-jsBrowser library for multi-touch gestures to zoom and drag on any DOM element.
  • vue3-dropzoneIt's inspired by [react-dropzone](https://github.com/react-dropzone/react-dropzone) and implemented with vue3.
  • rc-scrollbarsReact scrollbars component
  • vue2-perfect-scrollbarVue.js wrapper for perfect scrollbar
  • locomotive-scrollDetection of elements in viewport & smooth scrolling with parallax effects.
  • jsx-dom-cjsJSX to document.createElement.
  • @rpldy/retry-hooksuseful hooks for the retry functionality from @rpldy/retry
  • arrivearrive.js provides events to watch for DOM elements creation and removal. It makes use of Mutation Observers internally.
  • react-scroll-upReact component to render element for scroll to top of page
  • @better-scroll/mouse-wheelsupport for MouseWheel in PC
  • dom-to-pdfGenerates a printable paginated pdf from DOM node using HTML5 canvas and svg.
  • @joyfill/react-grid-layoutA draggable and resizable grid layout with responsive breakpoints, for React.
  • @cerbos/hubClient library for interacting with Cerbos Hub from server-side Node.js applications
  • @katoid/angular-grid-layoutGrid Layout with draggable and resizable items for Angular
  • svelte-tiny-virtual-listA tiny but mighty list virtualization component for svelte, with zero dependencies 💪
  • clipboard-jsA web shim to handle clipboard APIs across browsers using a simple Promise API.
  • @github/paste-markdownPaste spreadsheet cells as a Markdown table.
  • dom-classlistCross-browser element (including SVG) class list manipulation
  • ngx-page-scroll-coreAnimated scrolling functionality for angular written in pure typescript
  • browser-interaction-time<p align="left"> <img src="https://raw.githubusercontent.com/atlassian/browser-interaction-time/master/bit.png" width="200" /> </p>
  • focus-layersTiny (~1Kb) React hooks for isolating focus within subsections of the DOM.
  • vue3-clipboardA Vuejs3 binding for clipboard.js
  • ic0An easy-to-use JavaScript API for the Internet Computer.
  • react-smooth-dndDrag and Drop library
  • @thisux/sveltedndA lightweight, flexible drag and drop library for Svelte 5 applications. Open source by THISUX Private Limited.
  • jsx-domJSX to document.createElement.
  • @kpmck/ag-grid-coreFramework-agnostic AG Grid DOM helpers for Node-based test tooling
  • scrollmonitorA simple and fast API to monitor DOM elements as you scroll
  • ember-infinitySimple, flexible infinite scroll for Ember CLI Apps.
  • browser-id3-writerJavaScript library for writing ID3 tag to MP3 files in browsers and Node.js
  • yacetiny text editor with plugins
  • @better-scroll/wheela BetterScroll plugin to imitate IOS Picker
  • vue3-moveableA Vue 3 Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
  • svelte-inviewA Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.