📅  最后修改于: 2022-03-11 15:04:16.954000             🧑  作者: Mango
// node-fetch v3 recently stopped support for the
// require way of importing it in favor of ES Modules.
// Old:
const fetch = require('node-fetch');
// New:
import fetch from "node-fetch";