Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/molt/lib/path.ts>findFileUp

Update dependencies the Deno way
Latest
function findFileUp
import { findFileUp } from "https://deno.land/x/molt@0.17.2/lib/path.ts";

Recursively searches for file(s) with the specified name in parent directories starting from the given starting directory.

Parameters

dir: string | URL
  • The path to the directory to start searching from.
...files: string[]
  • The name of the files to search for.