Npm install https

I hope a simple question npm install httpworks fine, and I can connect through port 80 to third-party services. npm install https, on the contrary, is not fixed in the recognized packet

Although I see a link to the https package here:

HTTP GET request in Node.js Express

What is the counterpart httpsto the package httpin Node.js / Express?

+5
source share
1 answer

So, Node itself has both modules for creating an http server and https server:

If you do not need NPM to make them work, they exist even before NPM itself.

, NPM /.

Express , connect blabla... API -, . Express, railways.js

Request, HTOPS- HTTP. , - Node. , cheerio.

PS: , . , - , , . .

+13
source

All Articles