Search results

1000+ packages found

Check if something is a generator function

published version 3.0.0, 3 years ago943 dependents licensed under $MIT
85,598,031

Is this an arguments object? It's a harder question than you think.

published version 1.2.0, 10 days ago805 dependents licensed under $MIT
102,155,613

Checks if the given value is a window object.

published version 1.0.2, 9 years ago116 dependents licensed under $MIT
4,931,712

Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.

published version 3.0.5, a year ago815 dependents licensed under $MIT
126,641,103

Type check values

published version 7.0.1, 4 months ago321 dependents licensed under $MIT
79,206,994

Check if a string is a valid JavaScript identifier

published version 1.0.1, 5 months ago1 dependents licensed under $MIT
388,241

Tests if a JSON property can be accessed using . syntax

published version 1.0.2, 10 years ago49 dependents licensed under $MIT
15,288,194

Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.

published version 2.0.0, 8 years ago196 dependents licensed under $MIT
9,866,240

i18n for ISO 3166-1 country codes

published version 7.13.0, 2 months ago503 dependents licensed under $MIT
2,759,391

Does a shallow comparison of two objects, returning false if the keys or values differ.

published version 0.1.3, 10 years ago212 dependents licensed under $MIT
9,617,370

Check if your package was installed globally

published version 1.0.0, a year ago566 dependents licensed under $MIT
49,826,829

unist utility to check if a node passes a test

published version 6.0.0, a year ago277 dependents licensed under $MIT
63,494,646

Returns true if a windows file path has invalid characters.

published version 1.0.2, 7 years ago43 dependents licensed under $MIT
7,302,824

Check if a value is a regular expression

published version 3.1.0, 3 years ago312 dependents licensed under $MIT
35,688,723

Check if a URL is absolute

published version 4.0.1, 3 years ago434 dependents licensed under $MIT
35,598,669

Check if a string matches the name of a Node.js builtin module

published version 4.0.0, 8 months ago345 dependents licensed under $MIT
27,464,109

Returns true if a filepath is a windows UNC file path.

published version 1.0.0, 7 years ago361 dependents licensed under $MIT
25,468,150

Returns `true` if the path appears to be relative.

published version 1.0.0, 7 years ago462 dependents licensed under $MIT
26,110,392

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc

published version 1.1.0, 7 months ago12 dependents licensed under $MIT
25,070,612

Check if the process is running inside a container (Docker/Podman)

published version 1.0.0, 2 years ago220 dependents licensed under $MIT
27,706,868