title: Iterate string lines in NodeJS
body: <p>I get a buffer (and I can make it a string) from <code>child_process.exec()</code> in NodeJS. I need to iterate over the lines of the output string. How would I do this?</p>