1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/mkdirp
2019-01-02 13:45:42 -05:00
..
mkdirp.ts Add mkdirp (denoland/deno_std#59) 2019-01-01 18:45:41 -05:00
readme.md Add mkdirp (denoland/deno_std#59) 2019-01-01 18:45:41 -05:00
test.ts Add testing module 2019-01-02 13:45:42 -05:00

deno-mkdirp

mkdir -p 4 deno.

Import

import { mkdirp } from "https://deno.land/x/std/mkdirp/mkdirp.ts";

API

Same as deno.mkdir.

mkdirp(path: string, mode?: number) : Promise<void>

Creates directories if they do not already exist and makes parent directories as needed.