samuraitruong / coingecko-api-v3

The nodejs api library for accessing coingecko api v3 , develop with typescript
https://samuraitruong.github.io/coingecko-api-v3/
MIT License
54 stars 30 forks source link

feat: add extraHTTPSOptions #32

Closed ThallesP closed 1 year ago

ThallesP commented 1 year ago

Hey! I've added extraHTTPSOptions, it allows for more customization on the request, like using different headers.

and also, https is built-in into node, no need for that dummy dependency.

samuraitruong commented 1 year ago

@ThallesP this library also use on frontend that why we add 'https' library as the polyfill. pleases refer to this - https://github.com/samuraitruong/coingecko-api-v3/pull/14

ThallesP commented 1 year ago

@samuraitruong Right, just added it back.