README
NodeJS File System Utility
Comfortable utility to read and write files, oriented to agile and synchronous programming of scripts in NodeJS.
Installation
npm install nodejs-fu --save
API Documentation
const fu = require('nodejs-fu');
fu.readFile(path[, options])
- Inputs:
path
: filename or file descriptoroptions
: https://nodejs.org/api/fs.html#fs_fs_readfilesync_path_options
- Returns: a string with contents of file