Skip to main content

createDirs

Creates directories if they do not already exist.

  • import the method
import { createDirs } from "nodelpers";
  • params
dirs: string[];
  • usage
createDirs("logs", "data", "temp/1");