Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2022-04-09 14:41:30 +0300
committerGitHub <noreply@github.com>2022-04-09 14:41:30 +0300
commita113468383183b84d1a77dbc0625f7dfdcda631f (patch)
tree5445f79f01f2b441c2a9a6a2c4179db3e93224ea /doc/api/crypto.md
parent2d84620f867cfc18be1a50f4e5f076dd79ba22e4 (diff)
doc: link to dynamic import function
PR-URL: https://github.com/nodejs/node/pull/42634 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r--doc/api/crypto.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 3a000b13612..d88be8da3d0 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -59,7 +59,7 @@ a preload module).
When using ESM, if there is a chance that the code may be run on a build
of Node.js where crypto support is not enabled, consider using the
-`import()` function instead of the lexical `import` keyword:
+[`import()`][] function instead of the lexical `import` keyword:
```mjs
let crypto;
@@ -6142,6 +6142,7 @@ See the [list of SSL OP Flags][] for details.
[`hash.update()`]: #hashupdatedata-inputencoding
[`hmac.digest()`]: #hmacdigestencoding
[`hmac.update()`]: #hmacupdatedata-inputencoding
+[`import()`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#dynamic_imports
[`keyObject.export()`]: #keyobjectexportoptions
[`postMessage()`]: worker_threads.md#portpostmessagevalue-transferlist
[`sign.sign()`]: #signsignprivatekey-outputencoding