ANSI escape sequence parser for node.js