fs-exists-in-path
v1.0.0
Published
Async fs.exists() that walks the PATH environment variable
Downloads
2
Readme
fs-exists-in-path
Async fs.exists() that walks the PATH environment variable.
Install
npm install fs-exists-in-path --save
Example usage
var existsInPath = require('fs-exists-in-path');
existsInPath('grunt', function(err, exists) {
if (exists) {
console.log('grunt-cli seems to be installed!');
} else {
console.log('No grunt-cli found! Install using: npm i grunt-cli -g');
}
});