NodeJS — Nuance of Requiring a File VS Reading a File

We’re going to walk through one of the small nuances of requiring vs reading a file directly during a running NodeJS process.

Nicholas Porter
JavaScript in Plain English
2 min readJan 17, 2020

--

NOTE: This is not an in depth comparison of require and fs.readFile

TLDR

--

--