Overall

UI Colors

  • #978998
  • #f9f8f7
  • #ffffff
  • #33b277
  • #625666
  • #e8e5e8

Syntax Colors

  • #625666
  • #ffffff
  • #f9f8f7
  • #33b277
  • #625666

Types

  • #dd6546
  • #33b277
  • #eaad3a
  • #4a91e2
  • #8e85e5
  • #625666
const got = require("got"); const cheerio = require('cheerio'); // get the HTML contents of "The Blue Marble" Wikipedia article const { body } = (await got("https://en.wikipedia.org/wiki/The_Blue_Marble")); // parse the article's HTML const $ = cheerio.load(body); // get the source of the first thumbnail image on the page const imgURL = `https:${$('.thumb img').attr("src")}`;
Save on
Powered by
Node 10.17.0
help
objectObject
Embed RunKit with this theme on your site