ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.57k stars 1.33k forks source link

chore: use single export #1778

Closed jimmywarting closed 9 months ago

jimmywarting commented 10 months ago

I'm going to try and group export and put them at the bottom last and also using explicit path (with extension) cuz this really makes it much more easier to refactor the code into ESM at a later stage.

It's much more easier to see what things gets exported when they are put last as a group

Checklist

titanism commented 9 months ago

❤️ it - would love undici here (writing because we're actually implementing custom retry logic as a simple wrapper for undici)

titanism commented 9 months ago

@jimmywarting feel free to merge this PR if it's ready