Stream writable.cork() Method
If you can teach Stream writable.cork() Method using read a big CSV, you know it. If you only know the heading, you don’t.
Keep Stream writable.cork() Method small. Zara should finish read a big CSV in a few lines, not a 40-line dump.
Without Stream writable.cork() Method, an upload job gets messy and read a big CSV is hard to trust.
Use Stream writable.cork() Method when read a big CSV must stay clear. If a simpler Node.js step works, use that instead.
Stream writable.cork() Method trap — loading the whole file into RAM. Zara loses marks for that every viva.
Place Stream writable.cork() Method next to nearby Node.js work — createReadStream is the link.
Close Stream writable.cork() Method with: “If I skip it, read a big CSV goes wrong like this: loading the whole file into RAM.”
For Stream writable.cork() Method: definition + an upload job + one failure.