Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js support #8

Closed
panva opened this issue May 6, 2022 · 0 comments
Closed

Node.js support #8

panva opened this issue May 6, 2022 · 0 comments

Comments

@panva
Copy link
Owner

panva commented May 6, 2022

Fetch API and Web Crypto API globals are not available in prior Node.js versions but they can be enabled via node's CLI.

  • Node.js 18.x versions require the --experimental-global-webcrypto command-line flag.
  • Node.js 19.x and newer versions require no command-line flags 🎉.

These may be provided to the node executable as command-line flags

node --experimental-global-webcrypto ...

or via the NODE_OPTIONS environment variables, e.g.

export NODE_OPTIONS='--experimental-global-webcrypto'
@panva panva closed this as completed May 6, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2022
panva referenced this issue Jan 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant