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-smooth-scrollbar
React implementation of smooth-scrollbar
1.8k-36%-8 years ago
8.0.6
CommonJSNoneReact, DOM and browser utilities
lazyframe
Dependency-free library for lazyloading iframes
1.8k+2%--
2.2.7
CommonJSNoneDOM and browser utilities
ampersand-dom-bindings
Takes binding declarations and returns key-tree-store of functions that can be used to apply those bindings.
1.8k+96%-8 years ago
3.9.2
CommonJSNoneDOM and browser utilities
nanocomponent
Native DOM components that pair nicely with DOM diffing algorithms
1.8k+23%-5 years ago
6.6.0
CommonJSNoneDOM and browser utilities
@ngx-meta/core
Dynamic page title & meta tags utility for Angular (w/server-side rendering)
1.7k---6 years ago
9.0.0
ESM + CommonJSBundledAngular, DOM and browser utilities
react-router-scroll-memory
For React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser
1.7k-16%-6 years ago
2.0.7
CommonJSNoneReact, Routing
super-hover
A super tiny library that hit-tests hover every frame. Unlike native :hover, it keeps tracking whatever sits under your pointer while you scroll or when things move on screen.
1.7k--2 months ago
0.2.2
ESM onlyBundledDOM and browser utilities
@alexcheuk/react-sortable-hoc
This is a fork of https://github.com/clauderic/react-sortable-hoc with grid sorting fix
1.7k---6 years ago
1.11.1
ESM + CommonJSBundledReact, DOM and browser utilities
solid-gesture
👇 Bread n butter utility for component-tied mouse/touch gestures in Solid.
1.7k+182%-4 years ago
0.0.3
ESM onlyBundledDOM and browser utilities
query-component
Query the DOM with selector engine fallback support
1.7k+82%-13 years ago
0.0.1
-NoneDOM and browser utilities
jos-animation
An animation library package to instantly add beautiful/professional looking animation to your website
1.7k+464%-2 years ago
0.9.2
CommonJSNoneAnimation, CSS-in-JS and styling
@edorivai/react-smooth-dnd
Drag and Drop library
1.6k---4 years ago
0.11.2
CommonJSBundledDOM and browser utilities, React
react-scroll-percentage
Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.
1.6k-33%-2 years ago
4.3.2
ESM + CommonJSNoneReact, DOM and browser utilities
jquery-scroll-lock
Locks mouse wheel scroll inside container, preventing it from propagating to parent element
1.6k+13%-9 years ago
3.1.3
CommonJSNoneDOM and browser utilities
filedrop-svelte
svelte component and action to create drag-and-drop file dropzones.
1.6k-10%-4 years ago
0.1.2
ESM onlyBundledSvelte, DOM and browser utilities
scroll-to-anchor
Scroll to the current anchor in the url if possible
1.6k+72%-9 years ago
1.1.0
-NoneDOM and browser utilities
yall-js
Yet Another Lazy Loader
1.6k-12%-4 years ago
4.0.2
ESM + CommonJSNoneDOM and browser utilities
scrollingelement
A `document.scrollingElement` polyfill.
1.6k-13%-10 years ago
1.5.2
CommonJSNonePolyfills and shims, DOM and browser utilities
dom-nodes
List of all the available DOM and SVG nodes and helper functions to quickly test against them
1.6k-17%-7 years ago
1.1.3
ESM + CommonJSNoneDOM and browser utilities, Utility libraries
scrollto-with-animation
Animated scroll with requestAnimationFrame. For smooth animate scrollTo defining the easing, running at 60FPS and cross-browser
1.6k-61%-6 years ago
3.0.4
CommonJSNoneAnimation, DOM and browser utilities
xml-parse
XML DOM, Parser & Stringifier
1.6k-57%-6 years ago
0.4.0
CommonJSNoneParsers and serialisers, DOM and browser utilities
htmlparser2-papandreou
Fast & forgiving HTML/XML/RSS parser
1.6k+8%-10 years ago
3.9.1-patch1
CommonJSNoneParsers and serialisers, DOM and browser utilities
pdfstudio
Client-side PDF toolkit powered by qpdf compiled to WebAssembly. Lock, unlock, change/remove passwords, merge, split, and rotate PDFs entirely in the browser — no server, files never leave the device.
1.6k--2 months ago
0.4.0
ESM onlyBundledPDF and documents, DOM and browser utilities
@drivy/dom-query
Utilities to select dom elements and handle events
1.6k---4 years ago
1.0.6
ESM + CommonJSBundledDOM and browser utilities, TypeScript tooling
react-fullscreen-image
An accessible, fast, and animated fullscreen React image viewer.
1.6k+113%-7 years ago
0.0.3
CommonJSNoneAnimation, React
vue-moveable
A Vue Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
1.6k-39%-2 years ago
2.0.0-beta.87
ESM + CommonJSBundledVue, DOM and browser utilities
vux-blazy
A fast lightweight pure JavaScript script for lazy loading and multi-serving images, iframes, videos and more.
1.5k+84%-10 years ago
1.6.4
CommonJSNoneDOM and browser utilities
vue-fluid-dnd
A Vue 3 drag and drop library to sort all kind of lists
1.5k+62%-1 year ago
0.14.4
ESM + CommonJSBundledDOM and browser utilities, Vue
jdom
lightweight dom builder
1.5k-36%-11 months ago
3.2.6
CommonJSNoneDOM and browser utilities
vue-check-view
Simple vue plugin that checks element position on screen (viewport) and adds classes to element. ES5 supported.
1.5k-35%-7 years ago
0.3.0
CommonJSNoneVue, DOM and browser utilities
karma-jasmine-dom-matchers
Karma plugin to inject Jasmine DOM Matchers for Jasmine.
1.5k-58%-9 years ago
0.1.2
CommonJSNoneDOM and browser utilities
dom-loaded
Check when the DOM has loaded like `DOMContentLoaded`
1.5k+75%-2 years ago
3.1.0
ESM onlyBundledDOM and browser utilities
svelte-moveable
A Svelte Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
1.5k-13%-2 years ago
0.45.0
ESM onlyBundledSvelte, DOM and browser utilities
react-scroll-to
Scroll to a position using react
1.5k-51%-6 years ago
3.0.0-beta.6
CommonJSBundledReact, DOM and browser utilities
access-key-label-polyfill
Polyfills the accessKeyLabel property to improve discoverability of native keyboard shortcuts for your website. Tiny (< 1KB) and dependency-free.
1.5k+170%-11 months ago
1.0.2
ESM onlyBundledDOM and browser utilities, Polyfills and shims
scrollin
Do something great when an element enters the viewport.
1.5k+3105%-10 years ago
0.4.1
CommonJSNoneDOM and browser utilities
@finsweet/attributes-scrolldisable
Disables scrolling on certain events.
1.5k---3 years ago
1.6.2
ESM onlyNoneDOM and browser utilities
scroll-snap
Snap page when user stops scrolling, with a customizable configuration and a consistent cross browser behaviour
1.5k-28%-1 year ago
5.0.2
ESM onlyBundledDOM and browser utilities
bianco.dom-to-array
Converts any DOM node/s to a loopable array
1.5k+43%-4 years ago
1.1.0
ESM + CommonJSBundledDOM and browser utilities
vue-affix
A Vue.js plugin that affixes an element in the window while you scroll, similar to Bootstrap Affix but much simpler
1.5k-30%-7 years ago
0.5.2
CommonJSNoneVue, DOM and browser utilities
hydro-js
A lightweight reactive library
1.4k+5%-18 days ago
1.10.1
ESM onlyBundledDOM and browser utilities
use-scroll-direction
A simple, performant, and cross-browser hook for handling scroll in your next react app.
1.4k-55%-4 years ago
1.1.4
ESM + CommonJSBundledDOM and browser utilities, React
react-stickup
React components to stick elements at the top of the page while scrolling
1.4k-6%-4 years ago
1.12.1
ESM + CommonJSBundledDOM and browser utilities, React
@abp/clipboard
ABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. This package is a part of the [ABP Framework](https://abp.io) and contains client-side files.
1.4k---11 days ago
10.6.1
-NoneDOM and browser utilities, Angular
cupertino-files
Read, inspect, and edit Apple Pages, Numbers and Keynote documents (iWork / Creator Studio, modern IWA format) in pure TypeScript with zero runtime dependencies.
1.4k--1 month ago
0.4.0
ESM onlyBundledDOM and browser utilities, Node.js utilities
add-px
Adds 'px' to a number. Useful for dom-style module.
1.3k-10%-11 years ago
1.0.0
CommonJSNoneDOM and browser utilities
@codingheads/scroll-utils
A library for scroll-related utils.
1.3k---3 years ago
1.0.11
ESM + CommonJSBundledDOM and browser utilities
await-of
await wrapper for easier errors handling without try-catch
1.3k-61%-5 years ago
3.1.1
ESM + CommonJSBundledPromises and async control flow, DOM and browser utilities
dom-mutations
Observe changes to the DOM using an async iterable — A nicer API for MutationObserver
1.3k+92%-1 year ago
1.0.2
ESM onlyBundledPromises and async control flow, DOM and browser utilities
@innovatrics/dot-smile-liveness
Digital onboarding semi-passive liveness
1.3k---16 days ago
8.2.0
ESM + CommonJSBundledVideo and audio, DOM 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.

  • react-smooth-scrollbarReact implementation of smooth-scrollbar
  • lazyframeDependency-free library for lazyloading iframes
  • ampersand-dom-bindingsTakes binding declarations and returns key-tree-store of functions that can be used to apply those bindings.
  • nanocomponentNative DOM components that pair nicely with DOM diffing algorithms
  • @ngx-meta/coreDynamic page title & meta tags utility for Angular (w/server-side rendering)
  • react-router-scroll-memoryFor React Router V4. React component to keep the scroll of the page and to restore it if the user clicks on the previous button of its browser
  • super-hoverA super tiny library that hit-tests hover every frame. Unlike native :hover, it keeps tracking whatever sits under your pointer while you scroll or when things move on screen.
  • @alexcheuk/react-sortable-hocThis is a fork of https://github.com/clauderic/react-sortable-hoc with grid sorting fix
  • solid-gesture👇 Bread n butter utility for component-tied mouse/touch gestures in Solid.
  • query-componentQuery the DOM with selector engine fallback support
  • jos-animationAn animation library package to instantly add beautiful/professional looking animation to your website
  • @edorivai/react-smooth-dndDrag and Drop library
  • react-scroll-percentageMonitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.
  • jquery-scroll-lockLocks mouse wheel scroll inside container, preventing it from propagating to parent element
  • filedrop-sveltesvelte component and action to create drag-and-drop file dropzones.
  • scroll-to-anchorScroll to the current anchor in the url if possible
  • yall-jsYet Another Lazy Loader
  • scrollingelementA `document.scrollingElement` polyfill.
  • dom-nodesList of all the available DOM and SVG nodes and helper functions to quickly test against them
  • scrollto-with-animationAnimated scroll with requestAnimationFrame. For smooth animate scrollTo defining the easing, running at 60FPS and cross-browser
  • xml-parseXML DOM, Parser & Stringifier
  • htmlparser2-papandreouFast & forgiving HTML/XML/RSS parser
  • pdfstudioClient-side PDF toolkit powered by qpdf compiled to WebAssembly. Lock, unlock, change/remove passwords, merge, split, and rotate PDFs entirely in the browser — no server, files never leave the device.
  • @drivy/dom-queryUtilities to select dom elements and handle events
  • react-fullscreen-imageAn accessible, fast, and animated fullscreen React image viewer.
  • vue-moveableA Vue Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
  • vux-blazyA fast lightweight pure JavaScript script for lazy loading and multi-serving images, iframes, videos and more.
  • vue-fluid-dndA Vue 3 drag and drop library to sort all kind of lists
  • jdomlightweight dom builder
  • vue-check-viewSimple vue plugin that checks element position on screen (viewport) and adds classes to element. ES5 supported.
  • karma-jasmine-dom-matchersKarma plugin to inject Jasmine DOM Matchers for Jasmine.
  • dom-loadedCheck when the DOM has loaded like `DOMContentLoaded`
  • svelte-moveableA Svelte Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
  • react-scroll-toScroll to a position using react
  • access-key-label-polyfillPolyfills the accessKeyLabel property to improve discoverability of native keyboard shortcuts for your website. Tiny (< 1KB) and dependency-free.
  • scrollinDo something great when an element enters the viewport.
  • @finsweet/attributes-scrolldisableDisables scrolling on certain events.
  • scroll-snapSnap page when user stops scrolling, with a customizable configuration and a consistent cross browser behaviour
  • bianco.dom-to-arrayConverts any DOM node/s to a loopable array
  • vue-affixA Vue.js plugin that affixes an element in the window while you scroll, similar to Bootstrap Affix but much simpler
  • hydro-jsA lightweight reactive library
  • use-scroll-directionA simple, performant, and cross-browser hook for handling scroll in your next react app.
  • react-stickupReact components to stick elements at the top of the page while scrolling
  • @abp/clipboardABP Framework is a complete open-source infrastructure to create modern web applications by following the best practices and conventions of software development. This package is a part of the [ABP Framework](https://abp.io) and contains client-side files.
  • cupertino-filesRead, inspect, and edit Apple Pages, Numbers and Keynote documents (iWork / Creator Studio, modern IWA format) in pure TypeScript with zero runtime dependencies.
  • add-pxAdds 'px' to a number. Useful for dom-style module.
  • @codingheads/scroll-utilsA library for scroll-related utils.
  • await-ofawait wrapper for easier errors handling without try-catch
  • dom-mutationsObserve changes to the DOM using an async iterable — A nicer API for MutationObserver
  • @innovatrics/dot-smile-livenessDigital onboarding semi-passive liveness