title: How can I measure a size of javascript string?
body: <p>It's not recommended to send a lot of bytes between processes in Node, proven here: <a href="https://stackoverflow.com/a/27327402/2440515">https://stackoverflow.com/a/27327402/2440515</a></p>
  
  <p>Node first JSON.stringify the object. How can I actually measure a size of a string to avoid transferring to much data? Is length equal to bytes?</p>