Welcome aboard! We are happy you are here and wish you good net-raft!
// at first you must install npm install node-fetch --save
var fetch = require('node-fetch');
fetch('https://net-raft.com/json/myjson.json')
.then(function(res) {
return res.json();
}).then(function(json) {
console.log(json); // for all
console.log(json.description);
});
The most helpful NODEJS solutions
get user ipNODEJS Click to see more ... 7.5K 1.7K