stdin read support for node