npm-cli-dir
Resolve the directory path where npm CLI is installed
resolve-from-npm
Resolve the path of a module from the directory where npm is installed
find-callsite
Finds the correct place where the stack trace was started, not the place where error was thrown