
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
@node-loader/http
Advanced tools
A nodejs loader for loading modules over the network with http/https.
npm install --save @node-loader/http
# Or, if you prefer Yarn
yarn add --save @node-loader/http
NodeJS 16.12 changed the Node Loader API. If using NodeJS@<16.12, please use @node-loader/http@1. Otherwise, use @node-loader/http@latest.
Create a file that imports a module over http:
import * as singleSpa from "http://unpkg.com/single-spa@5.5.5/lib/esm/single-spa.dev.js";
Now run node with the --experimental-loader flag:
node --experimental-loader @node-loader/http file.js
This project uses node-fetch to implement familiar HTTP semantics, including http redirects, https redirects, HTTP status checks, etc. Customizing the behavior of node-fetch is planned, but not yet implemented.
If you wish to combine http loader with other NodeJS loaders, you may do so by using node-loader-core.
FAQs
An http and https nodejs loader
We found that @node-loader/http demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.