This package has been deprecated

Author message:

the package was renamed to seekout

lookup-fs

1.0.0 • Public • Published

lookup-fs

Looks for a provided file in the current directory. Also checks all parent directories and returns the first found file path.

Installation

$ npm install lookup-fs

Usage

var lookupFileSystem = require('lookup-fs');
 
lookupFileSystem('.npmrc', function (err, filepath) {
  if (err) {
    throw err;
  }
 
  console.log(filepath); // /Users/sullenor/.npmrc
                         // or null if file was not found
});

Readme

Keywords

Package Sidebar

Install

npm i lookup-fs

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sullenor