My goal is to create a program on a webpage. The program will Fetch an assembly folder. Then extract CNC files from the assembly folder and put the CNC files into one folder and sort the CNC files into 3 other folders (plywood, aluminum, or steel) based upon the filament type metadata in the CNC files.
What is the best method to doing this using JavaScript?
Is there a way to detect file properties such as whether a file is a CNC using JavaScript?
I was also thinking of incorporating Python, since JavaScript is too simple a language for this type of process. Is there a way to link JavaScript and Python, such that JavaScript will be the main class and Python will be used as a subclass(es)?
Thank you!