ccc-tnt-psd2ui/npm-packages/win32-v3.4.+/fs-extra/lib/mkdirs/index.js
2023-07-24 10:36:46 +08:00

15 lines
328 B
JavaScript

'use strict'
const u = require('universalify').fromPromise
const { makeDir: _makeDir, makeDirSync } = require('./make-dir')
const makeDir = u(_makeDir)
module.exports = {
mkdirs: makeDir,
mkdirsSync: makeDirSync,
// alias
mkdirp: makeDir,
mkdirpSync: makeDirSync,
ensureDir: makeDir,
ensureDirSync: makeDirSync
}