1.0.0 • Published 10 years ago

fs-exists-in-path v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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');
    }
});
1.0.0

10 years ago