NodeJs

node v9.11.2
version: 1.1.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:
const request = require("axios") const jQueryPath = require("jsonpath") async function main() { var body = await request.get('https://api.github.com/repos/scottwrobinson/camo'); return jQueryPath.query(body,"$.data.archive_url"); } console.log('Body:'+ await main());
Loading…

1 comment

  • posted 8 months ago by nileshsp
    as per post from http://stackabuse.com/node-js-async-await-in-es7/

sign in to comment