0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/doc/api
Guy Bedford 3f3ad38c87 module: reintroduce package exports dot main
This reintroduces the dot main in exports as discussed in the previous
Node.js modules meeting.

The implementation includes both CommonJS and ES module resolution with
the associated documentation and resolver specification changes.

In addition to the dot main, "exports" as a string or direct fallback
array is supported as well.

Co-Authored-By: Geoffrey Booth <GeoffreyBooth@users.noreply.github.com>
PR-URL: https://github.com/nodejs/node/pull/29494
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2019-09-17 18:54:44 -07:00
..
addons.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
assert.md doc: space around lists 2019-09-09 16:45:24 -07:00
async_hooks.md doc: async_hooks.createHook promiseResolve option 2019-09-06 06:05:58 +02:00
buffer.md doc: start unorded lists at start of line 2019-09-03 20:55:39 -07:00
child_process.md doc: start unorded lists at start of line 2019-09-03 20:55:39 -07:00
cli.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
cluster.md doc: exitedAfterDisconnect value can be false 2019-09-09 05:47:45 +02:00
console.md doc: space around lists 2019-09-09 16:45:24 -07:00
crypto.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
debugger.md doc: change the 'txt' to 'console' for a command 2019-09-03 14:21:34 -07:00
deprecations.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
dgram.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
dns.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
documentation.md doc: remove multiple consecutive blank lines 2019-08-31 15:27:58 -07:00
domain.md doc: add extends for derived classes 2019-09-01 08:18:10 -07:00
errors.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
esm.md module: reintroduce package exports dot main 2019-09-17 18:54:44 -07:00
events.md doc: space around lists 2019-09-09 16:45:24 -07:00
fs.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
globals.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
http2.md doc: space around lists 2019-09-09 16:45:24 -07:00
http.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
https.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
index.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
inspector.md inspector: new API - Session.connectToMainThread 2019-09-16 09:01:55 -07:00
intl.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
modules.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
n-api.md doc: add leap second behavior notes for napi methods 2019-09-17 16:21:00 -07:00
net.md doc: space around lists 2019-09-09 16:45:24 -07:00
os.md doc: improve os.homedir() docs 2019-07-17 21:48:40 -07:00
path.md doc: fix extname with the correct description 2019-04-20 17:01:09 +03:00
perf_hooks.md doc: space around lists 2019-09-09 16:45:24 -07:00
policy.md doc: remove multiple consecutive blank lines 2019-08-31 15:27:58 -07:00
process.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
punycode.md
querystring.md doc: space around lists 2019-09-09 16:45:24 -07:00
readline.md doc: add extends for derived classes 2019-09-01 08:18:10 -07:00
repl.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
report.md report: include network interfaces in report 2019-08-03 07:25:52 -10:00
stream.md doc: add documentation for stream readableFlowing 2019-09-12 00:50:36 -07:00
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
synopsis.md doc: move Usage and Example to same header level 2019-07-09 19:45:20 -07:00
timers.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
tls.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
tracing.md doc: document trace-events category for dns requests 2019-06-12 19:42:54 -07:00
tty.md doc: space around lists 2019-09-09 16:45:24 -07:00
url.md doc: use consistent indenting for unordered list items 2019-09-03 20:55:39 -07:00
util.md util: add encodeInto to TextEncoder 2019-09-13 20:27:18 +02:00
v8.md doc: space around lists 2019-09-09 16:45:24 -07:00
vm.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
worker_threads.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00
zlib.md doc: use consistent unordered list style 2019-09-16 11:24:54 -07:00