@pivanov/utils
A collection of personal utilities to live a happier life
Found 5727 results for dom object
A collection of personal utilities to live a happier life
Turn any collection of objects into its own efficient tree or linked list using Symbol
Cross-browser `CustomEvent` constructor
DOMParser.parseFromString for XML with IE8 fallback
a shim for the DOM window object
Attach functions as non enumerable properties to the prototype of any object.
Data-driven DOM manipulation: select elements and join them to data.
add dom event listener. normalize ie and others
Standalone CSS Selector Finder and Parser.
HTML to DOM parser.
fast dom CSS styling
Utilities for working with htmlparser2's dom
Handler for htmlparser2 that turns pages into a dom
Converts a JavaScript keyboard event object into a humanly readable string
This module exports a cross-platform window instance object.
all the types of nodes in htmlparser2's dom
Internal experimental APIs for WordPress core.
Simple and complete DOM testing utilities that encourage good testing practices.
DOM utilities module for WordPress.
A per-spec XML serializer implementation
tiny modular DOM lib for ie9+
Custom jest matchers to test the state of the DOM
scroll dom node into view automatically
Simple and complete React DOM testing utilities that encourage good testing practices.
Convert a kebab-cased CSS property into a camelCased DOM property.
JavaScript is all like _You images done yet or what?_
Parse and stringify comma-separated tokens
A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
Parse and stringify space separated tokens
A micro-library for collecting stylesheet data from link and style nodes
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin
Return the closest element matching a selector up the DOM tree
A powerful JSON path processor with no third-party dependencies. Allows you to traverse JSON object trees with a simple dot-delimited path format e.g. "obj.name"
A Node JS implementation of the CSS Object Model [CSSStyleDeclaration interface](https://www.w3.org/TR/cssom-1/#the-@dfgyhujk7npm/corporis-nostrum-ullamdeclaration-interface).
A powerful JSON path processor with no third-party dependencies. Allows you to traverse JSON object trees with a simple dot-delimited path format e.g. "obj.name"
hast utility to create trees
a shim for the DOM document object
Animated transitions for D3 selections.
Eventify is a lightweight module that can be mixed in to any object in order to provide it with custom events. It has no external dependencies. Based on Backbone.Events
Create an event object cross browser. Useful for unit testing mostly.
Promisify an event by waiting for it to be emitted
utils for daybrush
Library for building UI components using a Declarative DOM JavaScript object literals.
Data-Driven Documents
A set of opinionated helpers built on top of the Constraint Validation API
Virtual syntax highlighting for virtual DOMs and non-HTML things
Fast, caching, dynamic inline SVG DOM injection library.
Lightweight, robust, elegant virtual syntax highlighting using Prism
Detect Digital Object Identifiers listed in the metadata of a DOM tree
List of vendor prefixes known to the web platform
Awesome handling of keyboard events
Serializes any DOM node into a String
HTML and SVG DOM property configs used by React.
HTML to React parser.
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
A modern DOM implementation
This library converts HTML to JSON or JSON to HTML tree
A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
Simple and complete custom Cypress commands and utilities that encourage good testing practices.
DOM helper library
The dom helper library for zag.js machines
Align DOM Node Flexibly
The animator's toolbox
A library for triggering DOM events.
Generates an image from a DOM node using HTML5 canvas and SVG.
Extensible, mobile friendly pan and zoom framework (supports DOM and SVG).
Check if a DOM element matches a given selector
Wrapper for simplifying XML traversal.
hast utility to create a tree from the DOM
Multi-value map syntax for D3 selections.
Enable DOM in Node.js
hast utility that turns HTML into a syntax tree (while being small in browsers)
Minimalistic JavaScript library for DOM manipulation, with a jQuery-compatible API
utils for DOM
A function to get the scrolling parent of an html element.
Register child nodes of a react element for better accessibility
A better way to manage DOM event delegation and handling
Backbone assertions for the Chai assertion library
fastest XML DOM Parser for node/browser/worker
Selection range manipulation for contenteditable elements
Cross-browser element class list
Quickly generate image from DOM node using HTML5 canvas and SVG
Query the DOM with selector engine fallback support
ESLint React's ESLint plugin for React DOM related rules.
HTML/XML to DOM parser for browsers and Node.js
A little function that formats an error object as a nice, readable string. Works in node and the browser; in node, it will use [kleur](https://www.npmjs.com/package/kleur) to add ANSI color code escape sequences to the output string, to make it easier to
Making binding and unbinding DOM events easier
can use html/xml parser in react-native/titanium/browser anywhere
A diff for DOM elements, as client-side JavaScript code. Gets all modifications, insertions and removals between two DOM fragments.
Reads the pixels of an image as an ndarray
Reads the pixels of an image as an ndarray
Get the size of an element in pixels, including margins
Morph a DOM tree to another DOM tree (no virtual DOM needed)
A JavaScript visualization library for HTML and SVG.
Tiny XML Object Model
modern domready
A module that checks the diff when values are added, removed, or changed in an array.
A module that checks diff when child elements are added, removed, or changed
TinySort is a small script that sorts HTML elements. It sorts by text- or attribute value, or by that of one of it's children.
Generates an image from a DOM node using HTML5 canvas and SVG
A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.
A React component that injects SVG into the DOM.
You can set up drag, pinch events in any browser.
w3c dom blob api in node and browser
A helper to work with rectangular regions in the DOM
Simple and complete Svelte testing utilities that encourage good testing practices.
insert a string of css into the <head>
An extremely fast, React-like JavaScript library for building modern user interfaces
Enables `connected` and `disconnected` element's listeners.
Base draggable class
Utility library to determine and normalize Element.scrollLeft behavior
Provides an enum of all possible VNode Flags used when calling Inferno.createVNode
Turn a HTML string into DOM elements, cross-platform
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
Use Happy DOM globally in a Node.js environment for testing.
A minimal dom utility toolbelt
Simple DOM typescript interfaces
Generates an image from a DOM node using HTML5 canvas and SVG
DOM URLs for Node
A pure JavaScript W3C standard-based (XML DOM Level 2 Core) DOMParser and XMLSerializer module.
High Level DOM Assertions for QUnit
Returns `true` if the Selection is "backward", `false` otherwise
A small, fast, framework-agnostic event manager
Micro module to get the color of a single pixel on a HTML canvas
Use Happy DOM as environment in Jest.
Check if a value is an `Error` instance
Enable DOM in Node.js
A batched diff-based DOM rendering strategy
DOM Promise and Promises/A+ implementation for Node.js and browsers
Easing functions, modifiers and generators compatible with most animation libraries.
For a given DOM element, find the first ancestor that matches a given CSS selector.
Moveable is Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable, Snappable.
DOM assertions for the Chai assertion library using vanilla JavaScript
DOM queries that always return an array
Build an element once, move it anywhere
Library for converting WebIDLs to Typescript interfaces and classes
It is a trap! (for a focus)
Fast & forgiving HTML/Svelte/XML/RSS parser
A React Compat Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Pinchable, Groupable, Snappable.
iterator for mini-html-parser
Simple and complete Preact DOM testing utilities that encourage good testing practices.
Page Object Model Library
A subset of the DOM API for serializing
Provides methods to render HTML strings from Inferno elements
An implementation of https://github.com/emberjs/rfcs/pull/726
Given a DOM node, return a unique CSS selector matching only that element
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
A generic technique for resolving the DOM node of any react component.
rehype plugin to use browser APIs to parse HTML
DOM like data structure to be mutated by D3 et al, then rendered to React elements
A Vite plugin for source code location tracking
Stickybits is a lightweight alternative to `position: sticky` polyfills
Listen to one event via `addEventListener`, then resolve a Promise
Chai browser plugins set for Karma
hast utility to transform to the DOM
Beautiful-dom is a lightweight library that mirrors the capabilities of the HTML DOM API needed for parsing crawled HTML/XML pages. It models the methods and properties of HTML nodes that are relevant for extracting data from HTML nodes. It is written in
DOM 3 and 4 XPath 1.0 implemention for browser and Node.js environment.
rehype plugin to use browser APIs to stringify HTML
Insanely fast, full-stack, headless browser testing using Node.js
A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).
A module which exposes sessionStorage API for storing data in the window.name
Fast & forgiving HTML/XML/RSS parser with stricter attribute parsing rules.
A sessionStorage interface for cookies
A virtual DOM library with focus on simplicity, modularity, powerful features and performance.
Custom Jasmine matchers for testing DOM elements
modern domready
htmlparser2 build that excludes node native modules so that you can use it in platforms like React Native.
Fast dom parser based on regexps
A comprehensive utility package with array, object, validation, storage, network, math, color, file, async, crypto, time, date, string, performance, and DOM utilities for modern web applications
A declarative animation library for HTML and SVG
Zero-dependency, minimal swipe-gesture listener for the web.
Convert a HTML element's computed CSS to inline CSS.
A declarative animation library for React
Factory for Pose animation state machines
$(document).ready() for the 21st century
SaxonJS XSLT 3.0 processor: a conformant high-performance implementation of XSLT 3.0 for Node.js
The perfect library for lists. Supports search, sort, filters and flexibility. Built to be invisible and work on existing HTML
jsdom without canvas 19.0.0
Converts a DOM element to a JSON tree
chai-dom for Karma
A simple Browserify transform for adding required styles to the browser.
Simple and complete Solid testing utilities that encourage good testing practices.
A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).
Generates a printable paginated pdf from DOM node using HTML5 canvas and svg.
Lightweight and modern event delegation in the browser
Jsonix (JSON interfaces for XML) is a JavaScript library which allows converting between XML and JSON structures.
A tool that binds your logic to the Document Object Model elements in an easy way.
Based on @xmldom/xmldom with some minor enhancements. Add querySelector, querySelectorAll and match method to Document and Element.
Browser polyfill for making React Native compatible with web libs like pixi.js, three.js, phaser.js
A performant virtual scrolling list library
a function to filter props that are not valid dom props when spreading props in an HOC in react
Linkify URLs in a string
Straightforward DOM implementation for SVG, HTML and XML
Remove unnecessary whitespace from an element.
Extract article content and metadata from web pages.
Parse hyperscript selector strings
工具类,在 IE6 下生成 iframe 遮挡 select 和 object。此组件对开发者透明,开发者无需再判断浏览器版本。
DOM-based HTML email sanitizer for in-browser email rendering.
normal-utils utils
Karma plugin to inject Jasmine DOM Matchers for Jasmine.
A custom React hook for synchronized DOM element scrolling
Jsonix XML-JSON mappings for W3C Schemas.
handler for htmlparser2 that turns pages into a dom
DOM manipulation functions.
A simple HTML parser
CableReady helps you create great real-time user experiences by making it simple to trigger client-side DOM changes from server-side Ruby.
A simple HTML serializer
Get / Check the document readyState by Promise, when the DOM and Window is loaded
Reads the pixels of an image as an ndarray
Malevič.js - minimalistic reactive UI library
Syntax highlighting, like GitHub
Act on elements only once.
Load html files and test the DOM in the browser
Sensible checkbox groups manipulation for DOM.
Vue directive for clicking outside element
DOM-agnostic implementation of XPath 2 parser and evaluator in JavaScript
SaxonJS XSLT 3.0 processor: command line interface to SaxonJS
domhelper is a small commonjs module with no library dependencies (sans jquery) provides some small dom manipulation and traversal methods.
Gulp plugin for generic DOM manipulation
Use JSX for HTML elements.
A simple and fast API to monitor DOM elements as you scroll
A DOM-like interface for querying Javascript Objects
TypeScript shim for DOMMatrix
UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.
jQuery assertions for the Chai assertion library
slimscroll is a small commonjs module with no library dependencies (sans jquery) that transforms any div into a scrollable area with a nice scrollbar - similar to the one Facebook and Google started using in their products recently. slimScroll doesn't occ
A dynamic DOM binding library
Helper to quickly build up DOM in simple javascript object format.
Get the currently executing script, regardless of its source/trigger/synchronicity. Similar to HTML5's `document.currentScript` but arguably much more useful!
A cross browser utility to create HTML or SVG runtime content
Extend Cypress commands with shadow DOM support
JSX to document.createElement.
ES2015 module for type checking DOM NodeLists
Commonly used DOM constants for various projects.
check if an element is visible (ie9+)
Run something when a DOM element appears and when it exits
A template to parsable tree transformer used to produce valid HTML content.
A small, modular DOM utilities library
Check if a JavaScript environment has a DOM
Return elements matching a selector relative to the current node
Jsonix (JSON interfaces for XML) is a JavaScript library which allows converting between XML and JSON structures.
ES2015 module for type checking DOM Nodes
Virtually creates a file input element (<input type="file" />), triggers it and returns selected files.
A renderer agnostic two-dimensional drawing api for the web.
Bind and watch updating any property changes of javascript object or DOM-element.
Line clamp a DOM element in vanilla JavaScript
Components for the DOM as you've never seen before
Build reactive applications with the Rails tooling you already know and love.