> For Nodejs only
npm install path-existed-or-create
``bashyarn add path-existed-or-create`
bashyarn add path-existed-or-create
`jsconst pathExistedOrCreate = require("path-existed-or-create");
jsconst pathExistedOrCreate = require("path-existed-or-create");
dirPath = "tempDir";
pathExistedOrCreate(dirPath);``