lib/forest.js
function (dirname) {
        return new Promise((resolve, reject) => {
            fs.mkdir(dirname, (err) => {
                if (err) {
                    reject(err);
                }
                else {
                    resolve(dirname);
                }
            });
        });
    }
function (dirname) {
        return new Promise((resolve, reject) => {
            fs.mkdir(dirname, (err) => {
                if (err) {
                    reject(err);
                }
                else {
                    resolve(dirname);
                }
            });
        });
    }
function ( dirname ) { return new Promise ( ( resolve , reject ) => { fs . mkdir ( dirname , ( err ) => { if ( err ) { reject ( err ) ; } else { resolve ( dirname ) ; } } ) ; } ) ; }
Non-Recursive mkdir
Non - Recursive mkdir