pub fn node_has_bin(dir: &Path) -> bool
Check whether a Node project’s package.json has a "bin" field.
package.json
"bin"