jimmywarting / wemo-client

JavaScript client library for controlling and subscribing to Wemo Devices
MIT License
132 stars 40 forks source link

Switch to fetch #75

Open jimmywarting opened 1 year ago

jimmywarting commented 1 year ago

thinking of using built in fetch, it would either require NodeJS v18. But that might be too much breaking. the alternative is that we let user bring their own fetch impl so they can change it if needed. then they can use whatever fetch-spec compl lib they want, may it be undici, node-fetch builtin or anything else