Search results

1000+ packages found

all the types of nodes in htmlparser2's dom

published version 2.3.0, 3 years ago676 dependents licensed under $BSD-2-Clause
175,748,685

Create an array by repeating the given value n times.

published version 1.1.4, 4 years ago846 dependents licensed under $MIT
50,225,448

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

published version 3.0.0, 2 years ago58 dependents licensed under $MIT
30,044,591

List of known MathML tag names

published version 4.0.0, 3 months ago41 dependents licensed under $MIT
21,143,984

List of HTML void tag names

published version 3.0.0, 2 years ago74 dependents licensed under $MIT
22,312,560

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

published version 3.0.0, 2 years ago134 dependents licensed under $MIT
13,178,856

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

published version 3.4.0, 3 years ago857 dependents licensed under $Apache-2.0
16,775,033

Get the longest item in an array.

published version 2.0.1, 8 years ago474 dependents licensed under $MIT
13,639,377

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

published version 1.3.1, 4 years ago7 dependents licensed under $MIT
6,054,562

hast utility to check if a node has a property

published version 3.0.0, 2 years ago54 dependents licensed under $MIT
4,264,762

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 ago122 dependents licensed under $MIT
5,096,742

Sort array elements in ascending order.

published version 0.2.0, 10 years ago3 dependents licensed under $MIT
3,036,400

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

published version 5.0.1, a year ago91 dependents licensed under $MIT
3,858,952

Polyfill/shim for `document.contains`

published version 1.0.2, 5 years ago10 dependents licensed under $MIT
2,313,747

Sort array elements in descending order.

published version 0.2.0, 10 years ago3 dependents licensed under $MIT
3,036,539

DOM element size sensor which will callback when size changed.

published version 1.0.2, 2 years ago96 dependents licensed under $ISC
1,671,607

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,544,381

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

published version 1.0.1, 8 years ago6 dependents licensed under $MIT
1,579,789

fast dom CSS styling

published version 2.1.0, 9 years ago156 dependents licensed under $MIT
1,378,340

Find the first element in an array that passes a callback test. Equivalent to underscore.find()

published version 0.0.1, 12 years ago9 dependents licensed under $MIT
1,676,539