You can check this application from My Svelte Weather App
Get API key from OpenWeatherMap.
$ node -v 12.13.1
$ npm install $ API_KEY=<YOUR_API_KEY> npm run dev
Access to http://localhost:5000 using a browser.
http://localhost:5000