Skip to content

develephant/fsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published