summaryrefslogtreecommitdiff
path: root/doc/api/addons.md
diff options
context:
space:
mode:
authorGus Caplan <me@gus.host>2018-04-22 18:56:42 -0500
committerGus Caplan <me@gus.host>2018-05-11 12:06:18 -0500
commitf074612b744fecfd1f79fd05d7f10fe9a1487e5a (patch)
tree196152c33dd3ec8a38ce38a4d61b2b1c0c8fbcd0 /doc/api/addons.md
parent5096e249e7b282e9890981e40ed9114ef549d99b (diff)
downloadandroid-node-v8-f074612b744fecfd1f79fd05d7f10fe9a1487e5a.tar.gz
android-node-v8-f074612b744fecfd1f79fd05d7f10fe9a1487e5a.tar.bz2
android-node-v8-f074612b744fecfd1f79fd05d7f10fe9a1487e5a.zip
esm: provide named exports for builtin libs
Provide named exports for all builtin libraries so that the libraries may be imported in a nicer way for esm users. The default export is left as the entire namespace (module.exports) and wrapped in a proxy such that APMs and other behavior are still left intact. PR-URL: https://github.com/nodejs/node/pull/20403 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Jan Krems <jan.krems@gmail.com>
Diffstat (limited to 'doc/api/addons.md')
0 files changed, 0 insertions, 0 deletions