0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Ronald J Kimball 76d4a23468
doc: improve explanation of package.json "type" field
Regardless of the value of the `"type"` field, `.mjs` files are
always treated as ES modules and `.cjs` files are always treated
as CommonJS.

PR-URL: https://github.com/nodejs/node/pull/27516
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2020-01-03 01:42:40 +01:00
..
addons.md doc: use code markup/markdown in headers in addons documentation 2019-12-26 21:36:59 -08:00
assert.md assert: implement assert.match() and assert.doesNotMatch() 2020-01-01 18:44:31 +01:00
async_hooks.md doc,async_hooks: use code markup/markdown in headers 2019-12-26 21:37:24 -08:00
buffer.md doc,buffer: use code markup/markdown in headers 2019-12-26 21:37:25 -08:00
child_process.md doc,child_process: use code markup/markdown in headers 2019-12-26 21:37:25 -08:00
cli.md module: unflag resolve self 2020-01-02 17:53:47 +01:00
cluster.md doc,cluster: use code markup/markdown in headers 2019-12-26 21:37:25 -08:00
console.md doc,console: use code markup/markdown in headers 2019-12-26 21:37:26 -08:00
crypto.md doc: fix createDiffieHellman generator type 2019-12-30 08:16:10 -08:00
debugger.md doc: add note about debugging worker_threads 2019-11-25 06:11:09 +01:00
deprecations.md doc: use code markup/markdown in headers in deprecations documentation 2019-12-26 21:39:09 -08:00
dgram.md doc,dgram: use code markup/markdown in headers 2019-12-26 21:39:23 -08:00
dns.md doc: improve dns introduction 2019-12-27 06:14:41 -08:00
documentation.md doc: remove multiple consecutive blank lines 2019-08-31 15:27:58 -07:00
domain.md doc,domain: use code markup/markdown in headers 2019-12-26 21:39:24 -08:00
errors.md doc,errors: use code markup/markdown in headers 2019-12-26 21:39:24 -08:00
esm.md doc: improve explanation of package.json "type" field 2020-01-03 01:42:40 +01:00
events.md doc,events: use code markup/markdown in headers 2019-12-26 21:39:25 -08:00
fs.md doc: update mode type for mkdir() functions 2019-12-29 07:32:23 -08:00
globals.md doc: use code markup/markdown in headers in globals documentation 2019-12-26 21:39:26 -08:00
http2.md doc,http2: use code markup/markdown in headers 2019-12-26 21:39:26 -08:00
http.md doc,http: use code markup/markdown in headers 2019-12-26 21:39:26 -08:00
https.md doc,https: use code markup/markdown in headers 2019-12-26 21:39:27 -08:00
index.md wasi: introduce initial WASI support 2019-11-30 18:06:39 +01:00
inspector.md doc,inspector: use code markup/markdown in headers 2019-12-26 21:39:27 -08:00
intl.md tools: support full-icu by default 2019-10-03 15:21:26 -07:00
modules.md module: self resolve bug fix and esm ordering 2019-12-29 11:17:21 -05:00
n-api.md doc: explain napi_run_script 2019-12-16 11:18:23 +01:00
net.md doc,net: use code markup/markdown in headers 2019-12-26 21:39:28 -08:00
os.md doc,os: use code markup/markdown in headers 2019-12-26 21:39:28 -08:00
path.md doc,path: use code markup/markdown in headers 2019-12-26 21:39:29 -08:00
perf_hooks.md perf_hooks: move perf_hooks out of experimental 2020-01-01 18:48:13 +01:00
policy.md doc: remove dashes 2019-10-26 08:39:41 -07:00
process.md doc: update mode type for process.umask() 2019-12-29 07:32:20 -08:00
punycode.md doc,punycode: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
querystring.md doc,querystring: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
readline.md doc,readline: use code markup/markdown in headers 2019-12-26 21:39:30 -08:00
repl.md doc,repl: use code markup/markdown in headers 2019-12-26 21:39:31 -08:00
report.md doc: remove dashes 2019-10-26 08:39:41 -07:00
stream.md doc: clarify role of writable.cork() 2020-01-01 19:23:46 +01:00
string_decoder.md doc,string_decoder: use code markup/markdown in headers 2019-12-26 21:39:32 -08:00
synopsis.md
timers.md doc,timers: use code markup/markdown in headers 2019-12-26 21:39:32 -08:00
tls.md doc,tls: use code markup/markdown in headers 2019-12-26 21:39:32 -08:00
tracing.md doc: remove dashes 2019-10-26 08:39:41 -07:00
tty.md doc,tty: use code markup/markdown in headers 2019-12-26 21:39:33 -08:00
url.md doc,url: use code markup/markdown in headers 2019-12-26 21:39:33 -08:00
util.md doc,util: use code markup/markdown in headers 2019-12-26 21:39:34 -08:00
v8.md doc,v8: use code markup/markdown in headers 2019-12-26 21:39:34 -08:00
vm.md doc,vm: use code markup/markdown in headers 2019-12-26 21:39:35 -08:00
wasi.md doc,wasi: use code markup/markdown in headers 2019-12-26 21:39:35 -08:00
worker_threads.md doc,worker: use code markup/markdown in headers 2019-12-26 21:39:35 -08:00
zlib.md doc,zlib: use code markup/markdown in headers 2019-12-26 21:39:33 -08:00