Search results

1000+ packages found

Check whether a value is "empty".

published version 1.2.0, 9 years ago205 dependents licensed under $MIT
2,159,653

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

published version 2.0.2, 7 years ago700 dependents licensed under $MIT
117,323,133

Returns true if a string has an extglob.

published version 2.1.1, 9 years ago2203 dependents licensed under $MIT
315,191,112

Get the native type of a value.

published version 6.0.3, 6 years ago1964 dependents licensed under $MIT
544,638,736

Check if a directory is empty.

published version 3.0.0, 3 years ago216 dependents licensed under $MIT
400,813

Return true if a value is a valid glob pattern or patterns.

published version 1.0.0, 8 years ago84 dependents licensed under $MIT
11,698,257

type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.

published version 0.4.0, 5 years ago1604 dependents licensed under $MIT
277,772,914

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, 4 years ago2749 dependents licensed under $MIT
372,854,425

Check if argv has a specific flag

published version 5.0.1, 4 years ago3188 dependents licensed under $MIT
987,124,465

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, 7 years ago2723 dependents licensed under $MIT
439,319,682

Check if a string is an IP address

published version 5.0.1, 2 years ago213 dependents licensed under $MIT
5,797,893

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

published version 5.0.0, 5 years ago2404 dependents licensed under $MIT
228,761,947

Returns `true` if the value is a primitive.

published version 3.0.1, 7 years ago221 dependents licensed under $MIT
21,761,826

Check if a string is SVG

published version 6.1.0, a month ago227 dependents licensed under $MIT
9,793,043

Returns true if a file path does not contain any invalid characters.

published version 0.1.1, 10 years ago251 dependents licensed under $MIT
5,027,033

Returns `true` if an array has a glob pattern.

published version 1.0.0, 9 years ago36 dependents licensed under $MIT
5,343,125

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

published version 4.0.0, 6 years ago1566 dependents licensed under $MIT
249,715,865

Check if a string only contains alphanumeric characters

published version 1.0.0, 10 years ago14 dependents licensed under $MIT
3,566,551

Returns true if a windows file path has invalid characters.

published version 1.0.2, 7 years ago44 dependents licensed under $MIT
8,010,431

Returns true if the value passed is all whitespace.

published version 0.3.0, 10 years ago14 dependents licensed under $MIT
4,962,842