Skip to main content
Module

x/create_react_app/deps.ts>fs.ensureDirSync

Create React App with Deno
Latest
function fs.ensureDirSync
Re-export
import { fs } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { ensureDirSync } = fs;

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Parameters

dir: string