extra-fs

Useful additions to inbuilt fs module.
extrafsaccessAsyncappendFileAsyncchmodAsyncchownAsynccopyFileAsynccpAsynclchownAsynclinkAsynclstatAsynclutimesAsyncmkdirAsyncmkdtempAsyncopenAsyncopendirAsyncreadFileAsyncreaddirAsyncreadlinkAsyncrealpathAsyncrenameAsyncrmAsyncrmdirAsyncstatAsyncsymlinkAsynctruncateAsyncunlinkAsyncutimesAsyncwriteFileAsyncconstantspromisesrealpathSyncDirDirentFsErrorReadStreamStatsWriteStreamBigIntOptionsBigIntStatsCopyOptionsFSWatcherMakeDirectoryOptionsObjectEncodingOptionsOpenDirOptionsReadAsyncOptionsReadResultReadSyncOptionsReadVResultRmDirOptionsRmOptionsStatOptionsStatSyncFnStatSyncOptionsStatWatcherStatsBaseWatchFileOptionsWatchOptionsWriteResultWriteVResultBufferEncodingOptionDehuskDirCallbackEncodingOptionExistsCallbackMakeDirectoryCallbackMakeDirectoryTemporaryCallbackModeNoParamCallbackOpenCallbackOpenDirCallbackOpenModePathLikePathOrFileDescriptorReadCallbackReadDirCallbackReadDirOptionsReadFileCallbackReadFileTextCallbackReadJsonCallbackReadPositionReadVCallbackReadlinkCallbackRealpathCallbackStatCallbackSymlinkTypeTimeLikeWatchEventTypeWatchListenerWriteCallbackWriteFileOptionsWriteVCallbackaccessaccessSyncappendFileappendFileSyncassertExistsassertExistsAsyncassertExistsSyncassertNotExistsassertNotExistsAsyncassertNotExistsSyncchmodchmodSyncchownchownSyncclosecloseAsynccloseSynccopyFilecopyFileSynccpcpSynccreateReadStreamcreateWriteStreamdehuskdirdehuskdirAsyncdehuskdirSyncexistsexistsAsyncexistsSyncfchmodfchmodAsyncfchmodSyncfchownfchownAsyncfchownSyncfdatasyncfdatasyncAsyncfdatasyncSyncfstatfstatAsyncfstatSyncfsyncfsyncAsyncfsyncSyncftruncateftruncateAsyncftruncateSyncfutimesfutimesAsyncfutimesSynclchownlchownSynclinklinkSynclstatlstatSynclutimeslutimesSyncmkdirmkdirSyncmkdtempmkdtempSyncopenopenSyncopendiropendirSyncreadreadAsyncreadFilereadFileSyncreadFileTextreadFileTextAsyncreadFileTextSyncreadJsonreadJsonAsyncreadJsonSyncreadSyncreaddirreaddirSyncreadlinkreadlinkSyncreadvreadvAsyncreadvSyncrealpathrenamerenameSyncrmrmSyncrmdirrmdirSyncstatstatSyncsymlinksymlinkSynctruncatetruncateSyncunlinkunlinkSyncunwatchFileutimesutimesSyncwatchwatchFilewritewriteAsyncwriteFilewriteFileSyncwriteFileTextwriteFileTextAsyncwriteFileTextSyncwriteJsonwriteJsonAsyncwriteJsonSyncwriteSyncwritevwritevAsyncwritevSync

mkdir-sync-recursive

Synchronously and recursively creates a directory. Returns undefined or the first directory path created.