slimbot icon indicating copy to clipboard operation
slimbot copied to clipboard

Use alternative library to `request-promise`

Open edisonchee opened this issue 5 years ago • 4 comments

Both Request and request-promise have been deprecated.

Alternatives to consider.

edisonchee avatar Jun 08 '20 08:06 edisonchee

I'm evaluating both node-fetch and ky at the moment, will be replacing Request-Promise in core lib once I'm done.

edisonchee avatar Jun 22 '20 16:06 edisonchee

Please, consider undici No dependencies, lightning fast modern HTTP1.1 library. As all you need is to send simple requests to telegram servers, no dependencies library is great alternative.

smartpunter avatar Apr 16 '21 11:04 smartpunter

Takes a while, huh?

smartpunter avatar Jun 16 '22 15:06 smartpunter