Skip to content

Commit

Permalink
bring back other named exports
Browse files Browse the repository at this point in the history
fix #45
  • Loading branch information
isaacs committed Apr 24, 2023
1 parent 06dfe55 commit 348e179
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ export const mkdirpSync = (path: string, opts?: MkdirpOptions) => {
: mkdirpManualSync(path, resolved)
}

export const sync = mkdirpSync
export const manual = mkdirpManual
export const manualSync = mkdirpManualSync
export const native = mkdirpNative
export const nativeSync = mkdirpNativeSync
export const mkdirp = Object.assign(
async (path: string, opts?: MkdirpOptions) => {
path = pathArg(path)
Expand Down

0 comments on commit 348e179

Please sign in to comment.