makenotion / notion-sdk-js

Official Notion JavaScript Client
https://developers.notion.com/docs
MIT License
4.96k stars 593 forks source link

Remove dependency on node-fetch #459

Open lcswillems opened 1 year ago

lcswillems commented 1 year ago

Node 16 is end-of-life. Node 18+ support fetch by default making node-fetch dependency useless.

huw commented 1 year ago

To maintainers: Arguably a duplicate of #38, more discussion at #401. Will just depend on when you wanna drop Node 16 support (and EoL isn’t necessarily a great reason to do so).

lcswillems commented 1 year ago

Why EoL might not be a great reason?

ShivamJoker commented 7 months ago

I am also having error with http module which is not supported in LLRT AWS Lambda.