diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-02-14 19:14:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 19:14:49 +0300 |
commit | 849991c6c47a0e05365feb4c9b1fb841924a5192 (patch) | |
tree | 056d4fc7618a0834f15afffa91aa013c37f13c0e /doc/api/crypto.md | |
parent | b53f927a521e6bae7e12583634b4a21aef348f13 (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.md | 2 |
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 { |