UNPKG

fsep

Version:

Fsep is a library that promisifies the native node FS operation and brings extras into the mix.

11 lines (8 loc) 239 B
const Path = require('path'); const Fsep = require('../index.js'); const path = Path.join(__dirname, 'rw/red/green'); Promise.resolve().then(function () { return Fsep.mkdirs(path); }).catch(function (error) { console.error(error); });