diff options
author | Guy Bedford <guybedford@gmail.com> | 2018-02-06 11:19:04 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-02-07 15:02:01 +0100 |
commit | 93df1169ea451983f09611c0acc9d3c98760dd28 (patch) | |
tree | 36ba27cb3ec643a1af6ea938ef17b438a46339d7 /doc/api/esm.md | |
parent | b8f7f84fc233a5876b1d275fed63775bdbb7932f (diff) | |
download | android-node-v8-93df1169ea451983f09611c0acc9d3c98760dd28.tar.gz android-node-v8-93df1169ea451983f09611c0acc9d3c98760dd28.tar.bz2 android-node-v8-93df1169ea451983f09611c0acc9d3c98760dd28.zip |
lib,doc: revert format name to cjs over commonjs
PR-URL: https://github.com/nodejs/node/pull/18596
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/esm.md')
-rw-r--r-- | doc/api/esm.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md index 10f2095859..2cfa5a9f29 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -137,7 +137,7 @@ module. This can be one of the following: | `format` | Description | | --- | --- | | `"esm"` | Load a standard JavaScript module | -| `"commonjs"` | Load a node-style CommonJS module | +| `"cjs"` | Load a node-style CommonJS module | | `"builtin"` | Load a node builtin CommonJS module | | `"json"` | Load a JSON file | | `"addon"` | Load a [C++ Addon][addons] | |