mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
15 lines
334 B
JavaScript
15 lines
334 B
JavaScript
'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
|
|
}
|