Easily retrieve the absolute paths of executable binaries provided by your project's local npm packages.
pnpm add local-pkg-binconst bins = await resolvePackageBin('my-tools')
// { 'my-tool': '/path/to/bin/tool.js', 'my-helper': '/path/to/bin/helper.js' }If the package does not exist or has no bin field, it returns an empty object {}.