JavaScript wrangler.
Check out my books!
Web API Cookbook:
https://www.amazon.com/Web-API-Cookbook-JavaScript-Applications/dp/1098150694
Modern CSS:
https://www.amazon.com/dp/148426293X
The request module has been deprecated for some time, new projects should not be using it, this sets a bad example.
I think your articles like this would be better if you would give an overview of the approach to the problem rather than diving right in to the code. Especially for newer developers who may not be able to follow all the logic.
Couple of quick observations:
The
request
module has been deprecated for some time, new projects should not be using it, this sets a bad example.I think your articles like this would be better if you would give an overview of the approach to the problem rather than diving right in to the code. Especially for newer developers who may not be able to follow all the logic.
Thanks
But about the 1st point
Deprecated just means it no longer maintained, its okay to still use it
I wrote a small networking class for my NodeJS project the other week. I used
https.request
, worked like a charm & wasn't that difficult to use!