resolve-cwd

Resolve the path of a module like `require.resolve()` but from the current working directory

cwd

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)