Newer
Older
vue-indexer / node_modules / fs-extra / lib / mkdirs / index.js
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 328 bytes v1.0
'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
}