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>
This commit is contained in:
parent
0a1adc061e
commit
3815f0c880
@ -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] |
|
||||
|
Loading…
x
Reference in New Issue
Block a user