For a lightweight library for DOM manipulation, the strongest matches are madrobby/zepto (Zepto is a minimalist, jQuery-compatible JavaScript library that covers), kenwheeler/cash (Cash is a lightweight, chainable DOM manipulation library that) and fabiospampinato/cash (cash is a lightweight JavaScript library purpose-built as a). bendc/sprint and phuocng/html-dom round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Find the best lightweight JavaScript DOM libraries. Compare top jQuery alternatives ranked by size, performance, and activity to find the best fit.
Zepto is a minimalist JavaScript toolkit providing an API for DOM manipulation, event handling, and asynchronous HTTP requests. It functions as a jQuery-compatible library, allowing developers to select, modify, and animate HTML elements using a concise and chainable syntax. The library includes an asynchronous HTTP client for exchanging data with remote servers without triggering page reloads and a browser-based event handler that supports standard mouse events and mobile touch gestures. Its capability surface covers CSS selector-based querying, element transition animations, and the serial
Zepto is a minimalist, jQuery-compatible JavaScript library that covers DOM manipulation, event handling (including mobile touches), AJAX, and animations with a chainable API and lightweight footprint, exactly matching the intent.
Cash is a lightweight JavaScript library for selecting and modifying HTML elements in modern browsers. It functions as a chainable element wrapper and DOM manipulation utility, providing a minimal alternative for managing browser DOM operations. The library uses a collection-based wrapper for DOM nodes, allowing multiple modifications and style updates to be performed in a single sequence. It is designed to provide a similar API for event handling and element management while maintaining a small footprint. The project covers a wide range of DOM manipulation capabilities, including element se
Cash is a lightweight, chainable DOM manipulation library that directly mirrors jQuery's core API for traversal, event handling, and AJAX while being only ~5KB, making it the ideal minimal replacement a visitor seeking a jQuery alternative without framework overhead would want.
Cash is a lightweight DOM manipulation library and HTML element wrapper designed as an alternative to jQuery for selecting and modifying elements in modern browsers. It functions as a modular DOM framework and JavaScript utility library, providing a system to wrap DOM nodes into actionable collections for batch processing. The project is built with a modular design that supports tree-shaking, allowing build tools to exclude unused methods to minimize the final bundle size. It provides mechanisms for extending the core functionality and collection prototypes to implement reusable plugins and c
cash is a lightweight JavaScript library purpose-built as a jQuery alternative for DOM manipulation, event handling, and HTML element wrapping, fitting the core request despite its modular build and lack of explicit AJAX or built-in animation features.
Sprint is a lightweight DOM manipulation and event handling library. It provides a minimal set of utilities for selecting, modifying, and traversing elements within the browser document object model. The library utilizes a selector engine to isolate specific document nodes using CSS-like patterns and positional indices. It encapsulates raw DOM elements within a wrapper object to provide a consistent API for updating element attributes, styles, and content. The toolset covers browser event management for attaching and detaching interaction handlers, as well as document tree navigation to loca
Sprint is a lightweight JavaScript library for DOM traversal, manipulation, and event handling, which directly replaces jQuery's core functionality — it fits the category, though it lacks built-in AJAX and animation features.
This is a vanilla JavaScript DOM manipulation library that provides a collection of native methods for selecting, creating, and modifying HTML DOM elements without any framework dependencies. It operates directly on the live DOM tree using imperative JavaScript calls, wrapping standard browser DOM APIs into reusable utility functions. The library covers the full spectrum of DOM operations including element selection, creation, removal, content and attribute management, event handling, style and class manipulation, and DOM traversal. It includes approaches for cross-browser DOM compatibility,
This vanilla JavaScript DOM manipulation library covers the core DOM operations, event handling, and cross-browser compatibility you'd expect from a jQuery replacement, but it lacks the built-in AJAX and animation utilities that are part of jQuery's full feature set, making it a lighter, more focused alternative.
This library is a browser interaction simulator designed for automated testing of web applications. It functions as a utility for dispatching synthetic events to document elements, allowing developers to verify how components respond to user behavior within a test suite. The project distinguishes itself by orchestrating complex sequences of low-level events to replicate the specific patterns of human interaction. It maintains internal tracking of focus, selection, and input state, ensuring that simulated actions align with the logic of a browser engine. Before dispatching, an input validation
This is a testing utility that simulates user interactions in the DOM, not a general-purpose jQuery-like library for DOM manipulation, AJAX, or animation — it covers event handling in a testing context but lacks the core AJAX, DOM traversal, and animation features requested.
A sizzlin' hot selector engine.
Sizzle is jQuery's standalone CSS selector engine, which handles DOM traversal and selection but is a focused building block rather than a full jQuery replacement—it lacks event handling, AJAX, and animation features by itself.