In node.js you can use console.log or sys.puts to print out to the screen.
console.log
sys.puts
What is the preferred method and what is the difference between thes
Both just write to the stdout stream. The difference is that sys.puts just toString's the first argument, and console.log takes multiple arguments, and will sys.inspect the first arg if it's not a string.
toString
sys.inspect