0.0.9 • Published 5 years ago
@ong/fs v0.0.9
@ong/fs
Nodejs: extra methods for fs
Install
npm install @ong/fs
Usage
const { copySync, ensureDirSync } = require('@ong/fs')
// copy from `src` to `dest`
copySync(src, dest, [opts])
// if dir doesn't exist, then creates it
ensureDirSync(dirPath)