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/cli.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/cli.md')
-rw-r--r-- | doc/api/cli.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index 10500f130a6..a551a3fff9c 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -288,6 +288,14 @@ added: v17.5.0 Enable experimental support for the [Fetch API][]. +### `--experimental-global-webcrypto` + +<!-- YAML +added: REPLACEME +--> + +Expose the [Web Crypto API][] on the global scope. + ### `--experimental-import-meta-resolve` <!-- YAML @@ -1580,6 +1588,7 @@ Node.js options that are allowed are: * `--enable-source-maps` * `--experimental-abortcontroller` * `--experimental-fetch` +* `--experimental-global-webcrypto` * `--experimental-import-meta-resolve` * `--experimental-json-modules` * `--experimental-loader` @@ -1982,6 +1991,7 @@ $ node --max-old-space-size=1536 index.js [Source Map]: https://sourcemaps.info/spec.html [Subresource Integrity]: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity [V8 JavaScript code coverage]: https://v8project.blogspot.com/2017/12/javascript-code-coverage.html +[Web Crypto API]: webcrypto.md [`"type"`]: packages.md#type [`--cpu-prof-dir`]: #--cpu-prof-dir [`--diagnostic-dir`]: #--diagnostic-dirdirectory |