Search results

1000+ packages found

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

published version 2.0.2, 7 years ago855 dependents licensed under $MIT
90,589,125

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

published version 2.0.1, 7 years ago819 dependents licensed under $MIT
90,810,652

What is the type of this builtin JS value?

published version 1.2.1, 13 days ago508 dependents licensed under $MIT
75,571,802

Type check values

published version 7.0.1, 4 months ago321 dependents licensed under $MIT
78,122,454

Determine if an object is a Stream

published version 0.1.2, 10 years ago672 dependents licensed under $MIT
71,312,481

TypeScript-first schema declaration and validation library with static type inference

published version 3.24.1, 15 days ago18879 dependents licensed under $MIT
59,147,621

unist utility to check if a node passes a test

published version 6.0.0, a year ago277 dependents licensed under $MIT
62,628,009

Runtime validation and processing of JavaScript types

published version 2.7.3, 7 months ago201 dependents licensed under $ISC
53,600,973

Runtime library to validate data against TypeScript interfaces

published version 1.0.2, 3 years ago537 dependents licensed under $Apache-2.0
42,464,670

Check if a value is a regular expression

published version 3.1.0, 3 years ago312 dependents licensed under $MIT
35,148,495

Stringify an object/array like JSON.stringify just without all the double-quotes

published version 5.0.0, 2 years ago705 dependents licensed under $BSD-2-Clause
28,064,017

Check if something is a promise

published version 4.0.0, 4 years ago278 dependents licensed under $MIT
25,677,284

Isomorphic, functional type-checking for Javascript

published version 7.3.0, a month ago75 dependents licensed under $MIT
19,037,737

A little library for asserting types and values, with zero dependencies.

published version 11.2.3, a year ago802 dependents licensed under $MIT
16,565,915

Convert an object or array into a formatted string

published version 1.0.2, 3 years ago24 dependents licensed under $BSD-2-Clause
14,498,059

Returns `true` if the value is a primitive.

published version 3.0.1, 7 years ago256 dependents licensed under $MIT
12,113,781

Check if a Buffer/Uint8Array is a GZIP file

published version 2.0.0, 7 years ago76 dependents licensed under $MIT
10,704,401

Coalesce for JavaScript. Returns the first value that is not undefined or null.

published version 1.0.2, 8 years ago23 dependents licensed under $MIT
10,441,244

the definitive JavaScript type testing library

published version 3.3.0, 6 years ago655 dependents licensed under $MIT
8,026,108

Simple module to get instance type. Like a bit more advanced version of typeof

published version 1.4.0, 8 years ago8 dependents licensed under $MIT
7,072,017