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 Fsep = require('../index'); const Path = require('path'); var path = Path.join(__dirname, 'rw/blue/white'); Promise.resolve().then(function () { return Fsep.ensureFolder(path); }).catch(function (error) { console.log(error); });