0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 15:06:33 +01:00
nodejs/doc
cjihrig 58a59a8d6b
doc: improve createRequire() example
Update the example to use import and import.meta.url instead
of require() and require.resolve().

PR-URL: https://github.com/nodejs/node/pull/27762
Fixes: https://github.com/nodejs/node/issues/27758
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
2019-05-20 10:22:44 -04:00
..
api doc: improve createRequire() example 2019-05-20 10:22:44 -04:00
api_assets doc: adjusting formatting when printing 2018-11-16 21:13:46 -08:00
changelogs 2019-05-07, Version 12.2.0 (Current) 2019-05-07 20:38:46 +02:00
guides doc: add internal documentation 2019-04-15 18:58:52 +02:00
.eslintrc.yaml
abi_version_registry.json doc: correct entry for electron v4.0.4 2019-05-19 22:37:07 +02:00
first_timer_badge.png
full-white-stripe.jpg
node.1 inspector: implement --cpu-prof-interval 2019-05-05 10:19:17 -07:00
offboarding.md
onboarding-extras.md build: remove mips support 2019-02-22 05:29:25 +01:00
onboarding.md doc: remove tsc-review 2019-03-09 22:25:19 -08:00
osx_installer_logo.png
releases.md doc,meta: codify security release commit message 2019-05-13 16:20:10 -07:00
STYLE_GUIDE.md doc: revise Style Guide 2019-02-19 19:17:12 -08:00
template.html
thin-white-stripe.jpg