import { fetch } from 'http'; fetch('https://api.github.com/users/octocat').then(console.log);