1. Read a directory which contains js files.
2. For each js file:
A. parse function names. Ex: function foo() {/*code*/} would be parsed as 'foo'.
B. parse constant names. Ex: const boo = 'hi' would be parsed as 'boo'.
3. Stream the parsed results into an output.txt.
Code
Example output.txt
Parsed Functions and Constants for the folder ${specifiedFolderDirectory}
File ${firstFile}:
Parsed Snippet 1
Parsed Snippet 2
Parsed Snippet 3
File ${secondFile}:
Parsed Snippet 1
Parsed Snippet 2
Et cetera