MrMaxie / get-google-fonts

Downloads and adapts Google fonts to working offline
Apache License 2.0
62 stars 9 forks source link

Removing the "request" dependency #9

Closed MrMaxie closed 5 years ago

MrMaxie commented 5 years ago

request dependency is huge compared to the rest of the project. I need to try to remove it and replace it with built-in methods if it is profitable.

MrMaxie commented 5 years ago

Generally great, and I really appreciate the help! I didn't know that the HTTP(S) module is so similar to request. I'm afraid of two things:

Anyway, you don't have to worry about the current (ugly) version of the code. The key to change will be rewriting it to TS #8