Strip leading whitespace from each line in a string
Native Access to MacOS FSEvents
A minimal base64 implementation for number arrays.
Utility to parse a string bytes to bytes and vice-versa
Matches strings against configurable strings, globs, regular expressions, and/or functions
Repeat the given string n times. Fastest implementation for repeating a string.
A minimal path module to resolve Unix, Windows and URL paths alike.
Generate a unique character string suitible for use in files and URLs.
Get the command from a shebang
Strip redundant indentation and indent the string
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Slice a string with ANSI escape codes
Require module from string
extend like a boss
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Generate a unique random string
Create an ArrayBuffer instance from a Data URI string
Resolve the path of a module like `require.resolve()` but from a given path
Promisifies all the selected functions in an object
Port of C's wcwidth() and wcswidth()
return the github url from a package.json file
Returns true if a string has an extglob.
Trim newlines from the start and/or end of a string
Polyfill of future proposal for `util.parseArgs()`