Search results

1000+ packages found

Check if a value is an object

published version 3.0.0, 4 years ago947 dependents licensed under $MIT
79,096,639

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

published version 2.1.3, a year ago810 dependents licensed under $MIT
80,246,143

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

published version 3.0.5, a year ago814 dependents licensed under $MIT
80,311,547

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

published version 2.0.2, 7 years ago854 dependents licensed under $MIT
71,043,603

Type check values

published version 7.0.1, 4 months ago322 dependents licensed under $MIT
67,542,816

unist utility to recursively walk over nodes, with ancestral information

published version 6.0.1, a year ago405 dependents licensed under $MIT
53,002,298

unist utility to check if a node passes a test

published version 6.0.0, a year ago277 dependents licensed under $MIT
52,791,877

Check if your package was installed globally

published version 1.0.0, a year ago570 dependents licensed under $MIT
41,354,612

Runtime library to validate data against TypeScript interfaces

published version 1.0.2, 3 years ago537 dependents licensed under $Apache-2.0
37,931,907

Check if a path is the current working directory

published version 3.0.0, 3 years ago663 dependents licensed under $MIT
38,052,821

Lint files staged by git

published version 15.3.0, 6 days ago2284 dependents licensed under $MIT
35,728,441

Check if a URL is absolute

published version 4.0.1, 3 years ago434 dependents licensed under $MIT
29,025,516

Check if your code is running as an npm script

published version 6.0.0, 3 years ago479 dependents licensed under $MIT
22,940,128

Check if a value is a regular expression

published version 3.1.0, 3 years ago312 dependents licensed under $MIT
29,760,665

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

published version 1.1.0, 8 months ago12 dependents licensed under $MIT
21,423,360

Isomorphic, functional type-checking for Javascript

published version 7.3.0, 2 months ago75 dependents licensed under $MIT
16,269,957

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

published version 1.0.0, 7 years ago463 dependents licensed under $MIT
21,259,481

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
21,193,125

Check if something is a promise

published version 4.0.0, 4 years ago278 dependents licensed under $MIT
21,577,868

Check whether a request can be retried based on the `error.code`

published version 3.0.0, 4 years ago175 dependents licensed under $MIT
23,707,869