Package Exports
- save-file-atomic
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 (save-file-atomic) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
savefile
Save anything to file atomic.
Install
$ npm i save-file-atomic --save
Usage
const savefile = require('save-file-atomic');
// anything can be: ReadStream, Buffer, String
// target is the target file path
await savefile(anything, target);
// copy file atomic
await savefile.copy(source, target);
Questions & Suggestions
Please open an issue here.