If this is still a consideration, and you are using node 18+ I'd just consider using the built in fetch.
Pros, no dependencies
Cons, many blog posts will discuss axios as it used to be the champion tool in this space.
But generally speaking if we can use the standard library and not require a dependency that's a good move. Keeps your installs quick and project sizes small, and lowers the risks that come with using "other people's code" to an extent.
Fetch has been around in recent versions and I think I've seen you using ti already. So I'd just stick with that one!
If this is still a consideration, and you are using node 18+ I'd just consider using the built in fetch. Pros, no dependencies Cons, many blog posts will discuss axios as it used to be the champion tool in this space.
But generally speaking if we can use the standard library and not require a dependency that's a good move. Keeps your installs quick and project sizes small, and lowers the risks that come with using "other people's code" to an extent.
Fetch has been around in recent versions and I think I've seen you using ti already. So I'd just stick with that one!