コード
const fetch = require('node-fetch') fetch("http://weather.livedoor.com/forecast/webservice/json/v1?city=130010") .then(response => { return response.json() }).then(json => { console.log(json.description.text) })
結果
const fetch = require('node-fetch') fetch("http://weather.livedoor.com/forecast/webservice/json/v1?city=130010") .then(response => { return response.json() }).then(json => { console.log(json.description.text) })