CoinGecko-API icon indicating copy to clipboard operation
CoinGecko-API copied to clipboard

Browser platform support request

Open matibat opened this issue 4 years ago • 4 comments

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!

matibat avatar Aug 12 '21 15:08 matibat

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.

Dan6erbond avatar Sep 23 '21 08:09 Dan6erbond

Would also love to see this implemented.

Vvaradinov avatar Dec 24 '21 19:12 Vvaradinov

This should be implemented :/ otherway we should create a fork in our own proyect and change it to use it serverless.

CartagoGit avatar Dec 27 '21 05:12 CartagoGit

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?

ndmax avatar Mar 06 '22 22:03 ndmax