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

x/path/src/Path.ts>Path#mkDirSync

better path handling for Deno
Latest
method Path.prototype.mkDirSync
import { Path } from "https://deno.land/x/path@v3.0.0/src/Path.ts";

create the specified path if parents is true any needed paths will be created

Parameters

optional
parents: boolean = [UNSUPPORTED]

the desired path

Returns

boolean

true on success and false on failure