As you might have realized, the http
package will soon be deprecated, since it uses the deprecated request
on the server.
However this would break a lot in our code, since it is a great isomorphic abstraction to HTTP calls and I managed to replace request
with node-fetch
on the server and kept the client code as it is.
You can check out the package on atmosphere and on GitHub.
Install via meteor remove http && meteor add jkuester:http
The API is 95% the same, expect for npmRequestOptions
that were removed due to request
being removed.
Any feedback is very welcomed!