mkfs

Write a file to automatically create a directory function based on node - based FS


Keywords
node, fs, writeFile
License
ISC
Install
npm install mkfs@1.0.4

Documentation

What is it

Write a file to automatically create a directory function based on node - based FS

Installation

NPM

npm install mkfs

Examples

var gfs = require('mkfs');

gfs.writeFilesSync("/var/www/storage/export/filename",data,"utf-8");

gfs.writeFiles("/var/www/storage/export/filename",data,"utf-8");

gfs.mkdirs("/var/www/storage/export/filename");