title: Get the text of the current node only
body: <p>In Cheerio, how do you get just the text of the current node only?</p>
  
  <pre><code>var cheerio = require('cheerio')
  
  const htmlString = '&lt;div&gt;hello&lt;span&gt;world&lt;/span&gt;&lt;/div&gt;'
  
  $ = cheerio.load(htmlString, { ignoreWhitespace: true })
  
  console.log($('div').text())  //helloworld
  console.log($('span').text())  //world
  </code></pre>
  
  <p>How do you get just <code>hello</code>?</p>