find-pkg

Find the first directory with a package.json, recursing up, starting with the given directory. Similar to look-up but does not support globs and only searches for package.json. Async and sync.

get-installed-path

Get installation path where the given package is installed. Works for globally and locally installed packages