chris's notebooks

  • node fetch - /chris/node-fetch
    Last edited 7 years ago
    const fetch = require("node-fetch") var getUserDetails = function foo (url) { return fetch(url) .then(function(res) { return res.json() }) }