Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion doc/api/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

<!--name=module-->

In the Node.js module system, each file is treated as a separate module. For
CommonJS modules are the classic format to package JavaScript code for Node.js.
Comment thread
aduh95 marked this conversation as resolved.
Outdated

Comment thread
aduh95 marked this conversation as resolved.
In Node.js, each file is treated as a separate module. For
example, consider a file named `foo.js`:

```js
Expand Down