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:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-02-14 19:14:49 +0300
committerGitHub <noreply@github.com>2022-02-14 19:14:49 +0300
commit849991c6c47a0e05365feb4c9b1fb841924a5192 (patch)
tree056d4fc7618a0834f15afffa91aa013c37f13c0e /doc/api/crypto.md
parentb53f927a521e6bae7e12583634b4a21aef348f13 (diff)
crypto: expose Web Crypto API on the global scope
PR-URL: https://github.com/nodejs/node/pull/41938 Refs: https://developer.mozilla.org/en-US/docs/Web/API/crypto_property Refs: https://github.com/nodejs/node/pull/41782 Refs: https://w3c.github.io/webcrypto Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r--doc/api/crypto.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 0e56f12a6fd..e5b83eb4ff5 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -41,6 +41,8 @@ calling `require('crypto')` will result in an error being thrown.
When using CommonJS, the error thrown can be caught using try/catch:
+<!-- eslint-skip -->
+
```cjs
let crypto;
try {