Web Push Demo 安装 yarn global add foreman yarn install 配置 .env 文件中配置 mailto: MAILTO=mailto:xxx@mail.com 运行 npm run start 参考资料 How JavaScript works: the mechanics of Web Push Notifications Subscribing a User node-web-push