About this project
fQuery is a lightweight JavaScript library designed for DOM querying, traversal, manipulation, and browser utility management. It provides a familiar, chainable QuerySet API and equivalent static functions for efficient element handling.
Key capabilities include:
- DOM Operations: Comprehensive tools for finding elements, traversing the DOM tree, filtering nodes, and manipulating attributes, styles, and content.
- Event Management: Support for adding/removing event handlers, event delegation, and event namespaces.
- Animations: A promise-like animation system with built-in effects (fadeIn, slideIn, etc.), custom progress callbacks, and animation queues for sequencing.
- AJAX: A promise-like wrapper around XMLHttpRequest for performing GET, POST, PUT, PATCH, and DELETE requests.
- Browser Utilities: Helpers for dynamic script and stylesheet loading, cookie management, HTML sanitization, and form serialization.
- Flexibility: Supports ESM and UMD bundles, and can be initialized with custom DOM implementations (e.g., JSDOM) for non-browser environments.
The library also integrates helpers from @fr0st/core, exposed with an underscore prefix.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.