Hei Yuki File Parser (hyfileparser)
This is a very small module that converts a file into an array of strings. Each element of the array is a line in the file.
Quick Start
npm install hyfileparser
You then easily require the module:
const hyparser = require('hyfileparser');
How to Use
const hyparser = require('./parser.js');
hyparser.fileToArray(PATH_TO_YOUR_FILE).then((arr) => {
console.log(arr);
}, (err) => {
console.log(err);
});
License
MIT heiyukidev
About the Author
I'm Khaled Romdhane and my handle is @heiyukidev
If you stumble across this handle @heiyuki that's me, but not so professional.