Closed Kikobeats closed 2 years ago
You are only looking at the backport for Node.js. The library is not written for Node.js. It does not require node-fetch
(unless you are using the Node.js backport).
FYI you can already get a version that runs in modern browsers at https://get.grammy.dev/es6@v1.4.2.js but please follow #111 because that is still experimental.
Hello,
I noted the library is using node-fetch as HTTP client: https://github.com/grammyjs/grammY/blob/main/package.json#L28
If the library uses an isomorphic like isomorphic-unfetch instead, it will enable running the library in more places, like Vercel Edge Functions.