👋 Coming over from https://github.com/Munter/hyperlink/issues/200: I'd like to migrate hyperlink over to using native fetch(). It looks pretty straightforward except for two request() options:
Could we please have a guide on how to migrate off some of these non-standard properties? I think it'd be helpful for anybody who, like me, isn't familiar with request and is wondering about their nuances.
Note that this is not the same as what's currently in #3143. That's a summary table of alternative libraries that doesn't go into depth.
Overview
👋 Coming over from https://github.com/Munter/hyperlink/issues/200: I'd like to migrate
hyperlink
over to using nativefetch()
. It looks pretty straightforward except for tworequest()
options:gzip
strictSSL
gzip
looks like it can be dropped:https://github.com/request/request/blob/3c0cddc7c8eb60b470e9519da85896ed7ee0081e/README.md?plain=1#L1038-L1039
...but
strictSSL
I don't understand how it's different fromfetch()
:https://github.com/request/request/blob/3c0cddc7c8eb60b470e9519da85896ed7ee0081e/README.md?plain=1#L842
Could we please have a guide on how to migrate off some of these non-standard properties? I think it'd be helpful for anybody who, like me, isn't familiar with
request
and is wondering about their nuances.Note that this is not the same as what's currently in #3143. That's a summary table of alternative libraries that doesn't go into depth.