Search results

1000+ packages found

Get the native type of a value.

published version 6.0.3, 5 years ago2066 dependents licensed under $MIT
535,286,679

Check if something is a Node.js stream

published version 4.0.1, 10 months ago2559 dependents licensed under $MIT
380,417,502

Check if the character represented by a given Unicode code point is fullwidth

published version 5.0.0, a year ago2688 dependents licensed under $MIT
484,511,718

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 ago2798 dependents licensed under $MIT
341,171,285

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

published version 4.0.3, 3 years ago2832 dependents licensed under $MIT
284,505,854

Check if a path is a file, directory, or symlink

published version 6.0.0, 5 months ago1795 dependents licensed under $MIT
270,104,201

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

published version 4.0.0, 6 years ago1698 dependents licensed under $MIT
224,668,225

Determines if an object can be used as an array

published version 0.3.2, 7 years ago1593 dependents licensed under $MIT
246,780,390

Returns true if a value is a plain object, array or function.

published version 1.0.1, 7 years ago887 dependents licensed under $MIT
237,033,657

Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)

published version 3.1.0, a year ago2151 dependents licensed under $MIT
183,221,960

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2280 dependents licensed under $MIT
235,006,936

Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.

published version 1.1.15, 3 days ago881 dependents licensed under $MIT
157,534,911

Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.

published version 3.1.1, a year ago808 dependents licensed under $MIT
215,411,856

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

published version 5.0.0, 4 years ago2570 dependents licensed under $MIT
197,938,876

Check if a file path is a binary file

published version 3.0.0, 8 months ago1577 dependents licensed under $MIT
188,020,394

Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag

published version 1.2.1, 9 days ago1509 dependents licensed under $MIT
163,257,327

Check if the process is running inside a Docker container

published version 3.0.0, 3 years ago1366 dependents licensed under $MIT
147,780,063

Is this value an ES BigInt?

published version 1.1.0, 19 days ago1133 dependents licensed under $MIT
138,726,163

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
142,319,426

Is this value a JS ArrayBuffer?

published version 3.0.5, 5 days ago824 dependents licensed under $MIT
129,591,182