Skip to main content
Module

x/mkdir_recursive/mod.ts>exists

TS utility to recursively create a directory if it does not exist
Latest
function exists
import { exists } from "https://deno.land/x/mkdir_recursive@v0.1.0/mod.ts";

Returns true if file or dir is found

Parameters

filename: string | URL
  • path to search for on disk

Returns

Promise<boolean>
  • Promise which resolves to the boolean whether the location exists