UNPKG

file-system-es6

Version:

Written on top of default implementation of FileSystem. Includes extra functionality.

20 lines (14 loc) 458 B
# npm i file-system-es6 Written on top of default implementation of FileSystem. Includes extra functionality: - exec(command) - isFile(path) - isDirectory(path) - copyFileSync(source, target) - copyFolderRecursiveSync(source, target) - isCommandAvailable(command) - getFileName(filePath) - path - projectPath This is a great example of what's missing from the default filesystem implementation of JavaScript. Feel free to contribute!