NodeJS introduces HTTPS Import from URLs - podcast episode cover

NodeJS introduces HTTPS Import from URLs

Feb 14, 202216 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

NodeJS introduces importing network based modules in their latest release. Importing network based modules using `https:` and `http:` is supported under the `--experimental-network-imports` flag. This allows web browser-like imports to work in Node.js with a few differences due to application stability and security concerns that are different when running in a privileged environment instead of a browser sandbox.

 Import HTTPS

https://github.com/nodejs/node/pull/36328/files

For the best experience, listen in Metacast app for iOS or Android