Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

node-whereis

gfauchart9ISC0.0.1

locate file throught env PATH

npm, node, whereis

readme

whereis

locate file through environnement PATH

Usage

var whereis = require("whereis");
console.log(whereis("node")); // ex: /usr/local/bin/node