NOTE: npm init -y ... this will simply initialize the package.json Use --save-dev since it's not required to package your types for production.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.