You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
328 B
15 lines
328 B
3 years ago
|
'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
|
||
|
}
|