ccc-tnt-psd2ui/npm-packages/mac-v2.4.x/fs-extra/lib/mkdirs/index.js

15 lines
328 B
JavaScript
Raw Normal View History

2023-07-24 03:13:08 +00:00
'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
}