eropple / find-up

Recursively searches upward to find files/directories in parent paths.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@eropple/find-up

This library is a small helper for, given a directory, locating a file in or above that directory. I use it to easily track down package.json files to determine the root of a given package, to make it easier to navigate to non-JS assets like email templates and the like.

About

Recursively searches upward to find files/directories in parent paths.


Languages

Language:TypeScript 100.0%