pkg-dir
Find the root directory of a Node.js project or npm package
resolve-pkg
Resolve the path of a package regardless of it having an entry point
pkg-entry-points
Get all entry-points for an npm package. Supports the `exports` field in `package.json`.