Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 724 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 724 Bytes

fsp

A simple Promise wrapper for fs-extra.

js-badge node-badge

Install

npm i @develephant/fsp --save

Usage

const fsp = require('@develephant/fsp')

Example

//in async function
async function copyIt(src, dest) {
  await fsp.copy(src, dest)
    .then(res => console.log(res))
    .catch(err => console.error(err))
}

Resources

fs-extra

promisify-node


fsp ⋆ © 2017 develephant ⋆ MIT license