1.0.0 • Published 3 months ago

find-up-path v1.0.0

Weekly downloads
-
License
-
Repository
github
Last release
3 months ago

Find Up Path

Find the path of the first file matching a given name, walking the filesystem upwards.

Install

npm install --save find-up-path

Usage

import findUpPath from 'find-up-path';

const packagePath = findUpPath ( 'package.json' ); // => '/path/to/package.json' | undefined

License

MIT © Fabio Spampinato