std/mkdirp
2019-01-02 13:45:42 -05:00
..
mkdirp.ts Add mkdirp (#59) 2019-01-01 18:45:41 -05:00
readme.md Add mkdirp (#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.