Skip to content

Commit 2cf24e2

Browse files
hkiamemarijnh
authored andcommitted
Fix grammatical error in Chapter 20 under 'Modules' section
1 parent a2835df commit 2cf24e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

20_node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ When importing a module—whether with `require` or `import`—Node has to resol
113113

114114
{{index "node_modules directory", directory}}
115115

116-
When a string that does not look like a relative or absolute path is imported, it is assumed to refer to either a built-in ((module)) or a module installed in a `node_modules` directory. For example, importing from `"node:fs"` will give you Node's built-in file system module. Importing `"robot"` might try to load the library found in `node_modules/robot/`. It's common to install such libraries is by using ((NPM)), which we'll return to in a moment.
116+
When a string that does not look like a relative or absolute path is imported, it is assumed to refer to either a built-in ((module)) or a module installed in a `node_modules` directory. For example, importing from `"node:fs"` will give you Node's built-in file system module. Importing `"robot"` might try to load the library found in `node_modules/robot/`. It's common to install such libraries using ((NPM)), which we'll return to in a moment.
117117

118118
{{index "import keyword", "Node.js", "garble example"}}
119119

0 commit comments

Comments
 (0)