Extract the actual stack of an error
MIT License
Get stdin as a string or buffer
Regular expression for matching a shebang line
Parse JSON with more helpful errors
Strip console, alert, and debugger statements from JavaScript code
Create an error from multiple errors
Clean up error stack traces
Strip leading whitespace from each line in a string
Ponyfill for Error#captureStackTrace
Import a module like with `require()` but from the current working directory
Process execution for humans
Get callsites from the V8 stack trace API
Get the path of the caller module
Strip a substring from the start/end of a string
Get the callsite of the caller function