UNPKG

fs-extra

Version:

fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.

15 lines (13 loc) 328 B
'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 }