Filesac

Posted by Cyril Walle

Last edit

filesac

file-functions for node.js that return Promises

Note

Promise based file system functionality is now supported natively in node.js via fs/promises

However some function like copyFile from filesac do the right thing. Create subfolders if missing for example.

Installation

npm i filesac

Import

import {
    writeTextInFile,
    concatenateFiles,
    copyFile,
    copyDirectory,
    deleteFile,
    namesInDirectory,
    createNecessaryDirectoriesSync,
} from "filesac";

About

Changelog

Changelog

License

CC0