MCQs>IT & Programming>Node.js>You have to read a large text file, replace some words in it, and write it back to a new file. You know that the memory on your target system is limited. What should you do?
Node.js MCQs
You have to read a large text file, replace some words in it, and write it back to a new file. You know that the memory on your target system is limited. What should you do?
Answer
Correct Answer: Use readline together with streams to read and transform and write the file contents line by line.
Explanation:
Note: This Question is unanswered, help us to find answer for this one