Resolve the path of a module like require.resolve()
but from a given path
Let a globally installed package use a locally installed version of itself if available
Resolve the path of a module like require.resolve()
but from the current working directory