summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2018-01-15 13:13:23 -0600
committerRuben Bridgewater <ruben@bridgewater.de>2018-01-19 13:16:56 +0100
commit3815f0c880624d15237d7fd79afe26299ea0b455 (patch)
treef93c43de70a933494c94c18db98f52a523263df8 /doc
parent0a1adc061e827f09f0cd063f0117cef1221be69d (diff)
downloadandroid-node-v8-3815f0c880624d15237d7fd79afe26299ea0b455.tar.gz
android-node-v8-3815f0c880624d15237d7fd79afe26299ea0b455.tar.bz2
android-node-v8-3815f0c880624d15237d7fd79afe26299ea0b455.zip
doc: cjs format is now commonjs
PR-URL: https://github.com/nodejs/node/pull/18165 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/esm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 20e582d30b..0e86c381f1 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -132,7 +132,7 @@ module. This can be one of the following:
| `format` | Description |
| --- | --- |
| `"esm"` | Load a standard JavaScript module |
-| `"cjs"` | Load a node-style CommonJS module |
+| `"commonjs"` | Load a node-style CommonJS module |
| `"builtin"` | Load a node builtin CommonJS module |
| `"json"` | Load a JSON file |
| `"addon"` | Load a [C++ Addon][addons] |