Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 432 Bytes

File metadata and controls

22 lines (17 loc) · 432 Bytes

mkdirp (function)

Create a directory (folder) and all parents, recursively

Alias for mkdir(path, { recursive: true }).

Provides the same functionality as mkdir -p.

declare function mkdirp(
  path: string | Path,
  options?: {
    mode?: number;
    logging?: {
      trace?: (...args: Array<any>) => void;
      info?: (...args: Array<any>) => void;
    };
  },
): void;