Search results

1000+ packages found

Element resize detection, both modern way and cross browser.

published version 0.3.0, 4 years ago212 dependents licensed under $MIT
339,139

all the types of nodes in htmlparser2's dom

published version 2.3.0, 3 years ago649 dependents licensed under $BSD-2-Clause
194,570,156

Create an array by repeating the given value n times.

published version 1.1.4, 4 years ago689 dependents licensed under $MIT
59,199,841

A polyfill for the element internals specification

published version 3.0.2, 4 months ago32 dependents licensed under $MIT
241,539

hast utility to check if a node is inter-element whitespace

published version 3.0.0, 2 years ago53 dependents licensed under $MIT
35,971,781

List of known MathML tag names

published version 4.0.0, 6 months ago42 dependents licensed under $MIT
22,692,825

List of HTML void tag names

published version 3.0.0, 2 years ago63 dependents licensed under $MIT
24,748,605

hast utility to check if a node is a (certain) element

published version 3.0.0, 2 years ago133 dependents licensed under $MIT
14,939,945

Get the longest item in an array.

published version 2.0.1, 8 years ago458 dependents licensed under $MIT
17,704,197

Polyfills the ResizeObserver API and supports box size options from the latest spec

published version 3.4.0, 3 years ago847 dependents licensed under $Apache-2.0
16,498,535

Look up HTML tag names via HTML Element constructors, and vice versa.

published version 1.3.1, 4 years ago5 dependents licensed under $MIT
6,859,148

Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used.

published version 1.0.0, 8 years ago120 dependents licensed under $MIT
5,846,022

hast utility to check if a node has a property

published version 3.0.0, 2 years ago52 dependents licensed under $MIT
5,142,616

Sort array elements in ascending order.

published version 0.2.0, 10 years ago3 dependents licensed under $MIT
3,333,646

Parse and stringify the HTML `<img>` srcset attribute

published version 5.0.1, 2 years ago92 dependents licensed under $MIT
3,699,308

Sort array elements in descending order.

published version 0.2.0, 10 years ago3 dependents licensed under $MIT
3,333,761

Polyfill/shim for `document.contains`

published version 1.0.2, 5 years ago10 dependents licensed under $MIT
2,245,734

A custom element for extending the native media elements (<audio> or <video>)

published version 1.4.5, 2 months ago9 dependents licensed under $MIT
1,675,719

DOM element size sensor which will callback when size changed.

published version 1.0.2, 2 years ago95 dependents licensed under $ISC
1,712,686

Returns true if the given name is a HTML void element or common SVG self-closing element.

published version 1.0.1, 8 years ago9 dependents licensed under $MIT
1,628,626