Created
December 29, 2018 03:09
-
-
Save victorkurauchi/4d08091de420122c74e832f1afc79b62 to your computer and use it in GitHub Desktop.
weather-consumer.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Weather = require('./weather'); | |
const weather = new Weather(); | |
weather.getWeatherByCity('sydney').then(result => { | |
console.log(result); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment