1.0.0 • Published 3 months ago
find-up-path v1.0.0
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
1.0.0
3 months ago