Runkit
Runkit
home page
user forum
new notebook
support & documentation
log in
sign up
new notebook
documentation & support
Sign In
Sign Up
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() }) }