Is it possible to iterate through every word in stdin through means of Javascript?
===

I need to know if it's possible to iterate through every word input through stdin into a program using JavaScript. If so, may I get any leads on how to do so?