Hacker News new | ask | show | jobs
by zoren 940 days ago
Great article, thank you for sharing! The web-push package has a generateVAPIDKeys have you tried that? Was it not good since you use vapidkeys.com?
1 comments

Thanks! I didn't realize web-push had a way to generate the keys until later. Also it was just easier to use the vapidkeys site.
vapidkeys.com signs you up for their newsletter I later found
> npx web-push generate-vapid-keys --json > vapid.json

Does the trick