-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace request with needle #350
Conversation
Looks good, thanks for putting this together. Only test that is failing is unrelated. For the sake of our future selves, can you share why you chose |
@springmeyer I choose
|
What about |
1: from npmjs.com I personally prefer |
If you consider actual disk size, on my Win10 (NTFS file system), |
Hmmm.... if we are going to have a discussion about all the possible replacement options, I believe axios should also get a mention. It's only 14kb according to bundlephobia.com which beats all three options mentioned thus far by a long shot, and has 5.8mil downloads/month. |
The problem with adding The best would be to try and install them in a clean directory and then measuring disk size, hopefully I'll get some time for that this evening |
Okay, here is a list using actual install sizes, which is a much better measurement for our use case:
1: from npmjs.com |
@LinusU are these production installs? |
@ninox92 yes 👍 |
Thanks for the extra details and discussion here. I like the idea of going out with needle now since it ranks well for size but does not require code changes. |
v0.9.0 is now published with this PR included. |
* move deps to devDeps that are only needed when testing * follow the lead on mapbox/node-pre-gyp#350 * fix needle usage
Replace request with needle
Closes #340