Search results

1000+ packages found

Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 2.0.3, 9 months ago787 dependents licensed under $MIT
93,193,751

Is this value a JS WeakMap? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 2.0.2, 9 months ago611 dependents licensed under $MIT
89,443,138

Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 2.0.3, 9 months ago792 dependents licensed under $MIT
93,234,564

Is this value a JS WeakSet? This module works cross-realm/iframe, and despite ES6 @@toStringTag.

published version 2.0.4, 6 days ago611 dependents licensed under $MIT
90,297,954

A utility to determine if a value is null or undefined

published version 2.0.12, 2 months ago0 dependents licensed under $MIT
10

Check if something is a Node.js stream

published version 4.0.1, 10 months ago2559 dependents licensed under $MIT
353,773,321

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 ago2833 dependents licensed under $MIT
263,927,370

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

published version 3.1.0, a year ago2152 dependents licensed under $MIT
170,084,509

Check if a repository has untracked or added files

published version 2.0.2, 2 years ago350 dependents licensed under $MIT
781,631

Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.

published version 9.5.0, a year ago283 dependents licensed under $Artistic-2.0
4,790,731

Validates if a value is undefined.

published version 1.0.3, 10 years ago3 dependents
32,033

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

published version 6.0.0, 5 months ago1796 dependents licensed under $MIT
249,414,797

Test if a value is null.

published version 0.2.2, 5 months ago9 dependents licensed under $Apache-2.0
44,070

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
315,362,318

Detect the file type of a file, stream, or data

published version 19.6.0, 2 months ago2238 dependents licensed under $MIT
89,141,942

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

published version 2.1.3, a year ago811 dependents licensed under $MIT
126,571,801

Check if stdout or stderr is interactive

published version 2.0.0, 4 years ago1062 dependents licensed under $MIT
91,537,703

Check if a string is an IP address

published version 2.0.2, a year ago12 dependents licensed under $MIT
241,234

Detect whether or not an object is a Typed Array

published version 1.0.0, 10 years ago1230 dependents licensed under $MIT
109,801,521

Test if a value is an object.

published version 0.2.2, 5 months ago25 dependents licensed under $Apache-2.0
1,598,238