find-up-path
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    11,973
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    11,973

Package Sidebar

Install

npm i find-up-path

Weekly Downloads

10,263

Version

1.0.0

License

none

Unpacked Size

4.8 kB

Total Files

9

Last publish

Collaborators

  • fabiospampinato