#find #name

app rdetect

Traverse up directories to find files/folders by name

6 releases

0.2.1 Nov 16, 2018
0.2.0 Nov 16, 2018
0.1.3 Nov 13, 2018
Download history 63/week @ 2018-11-11 15/week @ 2018-11-18 19/week @ 2018-11-25 24/week @ 2018-12-02 7/week @ 2018-12-09 3/week @ 2018-12-16 25/week @ 2018-12-23 6/week @ 2018-12-30 6/week @ 2019-01-06 15/week @ 2019-01-13

52 downloads per month

MIT license

4KB
67 lines

Detect

Traverse up diretories to look for files/folders by name.

An example, with the folder structure

./
├── bar/
├── baz/
├── file
└── foo/
   ├── norf/
   └── qux/
      └── file

running detect file from ./foo/qux would return ./foo/qux/file while running it in ./foo/norf would return ./file.

detect will try to traverse all the way up to /

Dependencies

~793KB
~12K SLoC