Search results

1000+ packages found

Get the native type of a value.

published version 6.0.3, 5 years ago2047 dependents licensed under $MIT
674,417,324

Determine if the JS environment has Symbol support. Supports spec, or shams.

published version 1.0.3, 3 years ago2138 dependents licensed under $MIT
227,338,175

Returns true if an object was created by the `Object` constructor, or Object.create(null).

published version 5.0.0, 4 years ago2542 dependents licensed under $MIT
205,865,760

Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.

published version 7.0.0, 6 years ago2776 dependents licensed under $MIT
364,450,159

Returns true if the value is an object and not an array or null.

published version 4.0.0, 6 years ago1680 dependents licensed under $MIT
270,015,207

Improved typeof detection for node.js and the browser.

published version 4.1.0, 4 months ago1352 dependents licensed under $MIT
135,004,056

Determine if the JS environment has BigInt support.

published version 1.0.2, 3 years ago1119 dependents licensed under $MIT
137,292,155

Type check values

published version 7.0.1, 3 months ago318 dependents licensed under $MIT
84,698,912

Returns `true` if the value is a primitive.

published version 3.0.1, 6 years ago255 dependents licensed under $MIT
17,833,101

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,951,436

Type assertions aka less-broken `typeof`

published version 2.0.0, a year ago150 dependents licensed under $MIT
5,589,359

Checks whether provided parameter looks like a number

published version 1.0.8, 7 years ago27 dependents licensed under $ISC
5,367,939

Function argument validation for humans

published version 2.0.0, 7 months ago509 dependents licensed under $MIT
3,799,624

Test if a value is object-like.

published version 0.2.2, 4 months ago15 dependents licensed under $Apache-2.0
1,777,682

A tiny javascript type testing tool

published version 1.2.1, a year ago69 dependents licensed under $MIT
2,422,383

complete type checking for node

published version 2.1.0, a year ago492 dependents licensed under $MIT
1,981,787

Determine the name of a value's constructor.

published version 0.2.2, 4 months ago17 dependents licensed under $Apache-2.0
1,709,178

Get the native JavaScript type of a value, preceded by the appropriate indefinite article (either `a` or `an`), for use in error messages.

published version 0.1.1, 8 years ago4 dependents licensed under $MIT
1,281,838

Detect native Symbol.toStringTag support.

published version 0.2.2, 4 months ago7 dependents licensed under $Apache-2.0
1,762,547

Determine the specification defined classification of an object.

published version 0.2.2, 4 months ago31 dependents licensed under $Apache-2.0
1,746,445