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.

14 lines
292 B

4 years ago
  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. }