kind-of
Get the native type of a value.
Get the native type of a value.
Regular expression for matching ANSI escape codes
Get the first fulfilled promise that satisfies the provided testing function
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
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
Returns true if a value is a plain object, array or function.
Regular expression for matching a shebang line
Returns true if a string has an extglob.
Match balanced character pairs, like "{" and "}"
Check if a value is an object
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
Check if a value is a plain object
Get details about the current Continuous Integration environment
Detect if the current environment is a CI server
Create a javascript regular expression for matching everything except for the given string.
Generate a regex from a string or array of strings.
Check if a string has ANSI escape codes
Regular expression for matching IP addresses (IPv4 & IPv6)
invariant
Type check values