My First Playground

node v14.20.1
version: 5.0.0
endpointsharetweet
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:
// Let's show where the Internation Space Station currently is. console.log("Let's see where the ISS is with Node " + process.version); // We can use any package from NPM since they are all built in. var getJSON = require("async-get-json"); // And we can use ES7 async/await to pull the ISS's position from the open API. var result = await getJSON("http://api.open-notify.org/iss-now.json"); // Tonic will automatically display the last statement and try to find its best representation: result.iss_position
Loading…

5 comments

  • posted 2 years ago by r1971
    Notify me
  • posted a year ago by 640d689bbebe000008939b5d
    Notify
  • posted a year ago by aydensus
    how do you play
  • posted 5 months ago by elmonjo
    Merci pour votre aimabiliter
  • posted 3 months ago by shooterkenne3058
    By myself

sign in to comment