pub fn find(
command: &str,
which: &dyn Fn(&str) -> Option<PathBuf>,
) -> Option<Found>Expand description
Find the host’s install of command’s package, from where which puts the command: on Unix the command is a link
into <prefix>/lib/node_modules/<package>, on Windows a .cmd beside node_modules\<package>. No program is run.