Coding environment - IDE Parser code

These are all of the codes that you can do with the IDE

  • input - Global variable available to the parser code
    let url = input.url;
  • $ - An instance of cheerio
    Find more information on the cheerio website.
    $('#example').text()
    $('$example').attr('href')
  • location - A global variable available to the parser code. Object with info about current location
    let current_url = location.href;

Was this article helpful?