I am using sloc with my node.js code. Currently my code takes one file content at a time.
const {total, source} = sloc(content, extension);
How can I support batch processing to make it faster? I have requirement to process 1000+ files at a time. Batching will help. I am looking for something as below.
I am using sloc with my node.js code. Currently my code takes one file content at a time.
How can I support batch processing to make it faster? I have requirement to process 1000+ files at a time. Batching will help. I am looking for something as below.