node v0.12.18
version: 5.0.0
forecastCities is an asynchronous function (defined below) that will return the three day forecast of the cities passed in. Use the object viewer pop up to select "Chart" and compare them:
var Promise = require("bluebird"); var R = require("ramda"); await forecastCities("New York", "San Francisco");
async function forecastCities() { var forecast = require("notebook")("tonic/forecast/2.0.0"); var promises =, arguments); return R.zipObj(arguments, await, R.identity)); }

no comments

    sign in to comment