CoinGecko-API
CoinGecko-API copied to clipboard
Browser platform support request
By removing the dependencies on querystring and https, this codebase would also run on browser platforms. I see there's only one call for each module in the whole code.
Supporting the browser platform would be very helpful for server-less apps!
Second this. Those modules could be replaced with cross-platform alternative dependencies, or using built-in functions that both environments support. It seems like quite a missed opportunity with CoinGecko's public API functionality.
Would also love to see this implemented.
This should be implemented :/ otherway we should create a fork in our own proyect and change it to use it serverless.
Through v.5 of create-react-app, it actually was possible to implement this package (however inadvisable) in a browser application. With CRA v.6 also came webpack 5.0, which no longer polyfills core node.js modules. CRA v.6 projects attempting to implement this package now fail to compile.
The CRA maintainers suggest checking with a package's maintainers to see 1) if the package was meant to run in the browser; or 2) if the package could be modified to run in the browser (sans server-side node.js code that does not belong in a browser platform). They suggest that if a developer closes such requests and says "no to the browser platform," then it's time to find a new package. So, I'm checking here to see which way the wind is blowing.
Can this CoinGecko-API support the browser platform for server-less app implementation? Or does anyone know of an alternative?