Get the callsite of the caller function
MIT License
Import a module lazily
Clean up error stack traces
Indent each line in a string
Get the path of the parent module
Import a module like with `require()` but from the current working directory
Strip leading whitespace from each line in a string
Resolve the path of a module like `require.resolve()` but from the current working directory
Import a module like with `require()` but from a given path
Resolve the path of a module like require.resolve() but from a given path
Check if your code is running as an npm or yarn script
Get callsites from the V8 stack trace API
Get the path of the caller module
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`
Reverse minimist. Convert an object of options into an array of command-line arguments
url.parse() with support for protocol-less URLs & IPs