- Published on
This article explains the nuances of `module.exports` and `exports` in CommonJS, including common pitfalls when using exports, how to handle function vs object exports, and awkward scenarios that developers often encounter.
Everything published under Writing, newest first. Each entry is labelled as part of an investigation, an article or reference. Short engineering notes have their own archive.
Reference · Through the layers