We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Dima Platonov • 6 years ago

How about the needle ? I like him more and although he has great opportunities for some reason he is not so popular. 😐

bfredit • 6 years ago

Please don't specify the version during npm install in your blog post. People will blindly copy and paste and will be stuck to outdated version. It's completely unnecessary.

Bartłomiej Łoszewski • 6 years ago

I disagree. If user will copy without thinking than we can't help him. But if for some reason someone will try to use this example in future and sth won't work because of newer version of module than you wouldn't think where did you go wrong but you will see that example was created on old module version. I like showing used module version : )

Tiago • 6 years ago

I agree.

bfredit • 6 years ago

Yes. Plenty of people just copy and paste. Do you want to give them the finger? Let's be nice and help them be on the latest version.

If your example doesn't work, they'll comment here and everyone will benefit. Or they'll open the GitHub page for the updated API.

If they install an old version unknowingly, you're pushing people to outdated versions — which especially in the case of Request can mean vulnerabilities. Then they'll run into issues anyway because you still link to the latest version (which will show a different API). At least be consistent.

Showing the used version makes sense. Having the visitor install it doesn't.

Dmitri Pavlutin • 6 years ago

Thanks! Great review.
As an addition, it would be nice to see the difference between bundle sizes.

Josh Yates • 6 years ago

wow, it has become very difficult to keep up with client side development tools...but I'm enjoying the experience.

Rachel Lancaster • 6 years ago

nice

Kyle Miller • 6 years ago

If anyone is looking at this article recently, Request has a sister module called request-promise. It is the newest iteration that included promise based Async handling of HTTP reqs

Lucas Bleme • 6 years ago

Very helpful!