Search results

1000+ packages found

all the types of nodes in htmlparser2's dom

published version 2.3.0, 3 years ago655 dependents licensed under $BSD-2-Clause
112,112,830

Create an array by repeating the given value n times.

published version 1.1.4, 4 years ago845 dependents licensed under $MIT
32,754,475

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

published version 3.0.0, a year ago53 dependents licensed under $MIT
15,588,278

List of known MathML tag names

published version 3.0.2, 3 years ago40 dependents licensed under $MIT
12,607,554

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

published version 3.4.0, 2 years ago828 dependents licensed under $Apache-2.0
10,373,691

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

published version 3.0.0, a year ago124 dependents licensed under $MIT
8,661,582

List of HTML void tag names

published version 3.0.0, 2 years ago70 dependents licensed under $MIT
11,956,962

Get the longest item in an array.

published version 2.0.1, 8 years ago425 dependents licensed under $MIT
8,542,274

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

published version 1.3.1, 4 years ago7 dependents licensed under $MIT
4,700,690

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, 7 years ago121 dependents licensed under $MIT
3,450,353

hast utility to check if a node has a property

published version 3.0.0, a year ago53 dependents licensed under $MIT
2,346,372

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

published version 5.0.1, a year ago92 dependents licensed under $MIT
2,278,900

Sort array elements in ascending order.

published version 0.2.0, 9 years ago3 dependents licensed under $MIT
1,569,743

Polyfill/shim for `document.contains`

published version 1.0.2, 5 years ago10 dependents licensed under $MIT
1,380,944

DOM element size sensor which will callback when size changed.

published version 1.0.2, a year ago92 dependents licensed under $ISC
1,169,461

Sort array elements in descending order.

published version 0.2.0, 9 years ago3 dependents licensed under $MIT
1,569,844

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

published version 1.0.1, 7 years ago9 dependents licensed under $MIT
1,099,066

HTML void elements are not the only self-closing tags. This includes common SVG self-closing elements as well.

published version 1.0.1, 7 years ago6 dependents licensed under $MIT
1,113,015

Generate HTML elements from a javascript object.

published version 2.0.0, 7 years ago23 dependents licensed under $MIT
1,039,959

fast dom CSS styling

published version 2.1.0, 8 years ago152 dependents licensed under $MIT
788,920