the tty module from node core for browsers