This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
var got = require("got"); // every package from NPM is built in
var issNowAPI = 'http://api.open-notify.org/iss-now.json'; // International Space Station Location
// We case use await from ES7
var result = await got(issNowAPI, { json: true });
// You can log of course...
console.log("Let's see where the ISS is with Node " + process.version);
// Tonic will display the last statement and try to find its best representation:
result.body.iss_position