index.js 292 B

1234567891011121314
  1. 'use strict'
  2. const u = require('universalify').fromCallback
  3. const mkdirs = u(require('./mkdirs'))
  4. const mkdirsSync = require('./mkdirs-sync')
  5. module.exports = {
  6. mkdirs,
  7. mkdirsSync,
  8. // alias
  9. mkdirp: mkdirs,
  10. mkdirpSync: mkdirsSync,
  11. ensureDir: mkdirs,
  12. ensureDirSync: mkdirsSync
  13. }