5 ms·
Shameless plug: If you want the exact opposite of this (that is, to use JS from the shell), try https://bashojs.org https://bashojs.org For example: curl '
by jeswin 5y ago
Shameless plug:
If you want the exact opposite of this (that is, to use JS from the shell), try https://bashojs.org https://bashojs.org
For example:
curl 'https://api.openweathermap.org/data/2.5/weather?q=Bangalore&appid=2a125de83c277f4ce0ace5ed482f22b9' | basho --json -j 'x.weather[0].description + ", feels like: " + Math.round(10 * (x.main.feels_like - 273.15))/10 + "°C"'