Helper functions for searching for files in multiple include paths
Utility functions for searching multiple include paths.
npm install --save include-path-searcher
var includePathSearcher = require'include-path-searcher'
includePathSearcherfindFileSyncrelativePath includePaths // => fullPath
Searches for the file identified by
relativePath in any of the given
includePaths). Returns the full path of the first file found,
or throws an error if none found. For example:
includePathSearcherfindFileSync'foo.txt' 'dir1' 'dir2'
This returns either
not exist in either directory, it throws an error.