Eneris / push-receiver

A library to subscribe to GCM/FCM and receive notifications within a node process.
https://medium.com/@MatthieuLemoine/my-journey-to-bring-web-push-support-to-node-and-electron-ce70eea1c0b0
MIT License
16 stars 15 forks source link

Node > 20? #17

Closed amilich closed 3 months ago

amilich commented 3 months ago

Any particular reason this can't run on earlier versions of node?

Eneris commented 3 months ago

Hi. Yes. It's caused by moving from axios to native fetch to do the requests. Fetch is moved to stable in v20. It could possibly work on v18+ as it's there but marked as experimental.

amilich commented 3 months ago

Got it. Thank you!