jimbospain
Programmer
hey guys!
I'm struggling with a bit of javascript code
I'm using lib fs
'use strict';
const fs = require('fs');
And I want to read in a bunch of files from a given directory,
then parse them to extra everything after the word "export", then create a new file that has
module models {
// insert everything here that is extracted from the files
}
its not going well.
anyone can help?
I'm struggling with a bit of javascript code
I'm using lib fs
'use strict';
const fs = require('fs');
And I want to read in a bunch of files from a given directory,
then parse them to extra everything after the word "export", then create a new file that has
module models {
// insert everything here that is extracted from the files
}
its not going well.
anyone can help?