Package Exports
- fs-cp
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fs-cp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cp
Copy files with error handling, mkdirp, and promise support.
Specifically, if the process crashes while you're copying a file,
you won't end up with half-written copied files.
It should also avoid race conditions, meaning
you should be able to cp the same files at the same time and it'll be fine.
API
var cp = require('fs-cp')
cp('package.json', 'package2.json').then(function () {
})