IO.createDir

Creates the specified folder. If needed, creates all the folders necessary to complete the path.

IO.createDir(path);

Arguments

path. (string) The absolute path of the folder.

Return value

A promise that is fulfilled with undefined upon success.

Example

Copy code
(async ()=>{
    await IO.createDir("file_path");
})();