Well I'm using newsapi to build a news application but in your ./dist/index.js there's a function createUrlFromEndpointAndOptions causing some problem that prevent it to run in browser.
var query = qs.stringify(options); This line causing the problem.
Things I conclude from this :
querystring library is completely built for node or we can say that it's for server only.
In order to run the newsapi in client side we have to implement some other method to get the desire result.
Well I'm using newsapi to build a news application but in your
./dist/index.js
there's a functioncreateUrlFromEndpointAndOptions
causing some problem that prevent it to run in browser.var query = qs.stringify(options);
This line causing the problem.Things I conclude from this :
querystring
library is completely built for node or we can say that it's for server only.newsapi
in client side we have to implement some other method to get the desire result.Thank You!!