Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Weather Underground By Zip using Downgraded Core-js

node v10.24.1
version: master
endpointsharetweet
const coreJS = require("core-js") const weather = require('weather-underground-by-zip')(); const zipcode = 92116; const WeatherEmoticonFinder = require('weather-emoticon-finder'); const results = await require("util").promisify(weather.request)(zipcode); console.log('results',results); // { location: "San Diego, CA", temperature: 74, description: "Cloudy" } console.log(WeatherEmoticonFinder().get(results.description)); // ☁️
Loading…

no comments

    sign in to comment