module.exports = require('./lib/pty_win.js');

var os = process.platform === 'win32' ? '_win' : '';
module.exports = require('./lib/pty'+ os +'.js');

Check if windows, then load pty_win.js if unix* then load pty.js
Check if windows, then load pty_win.js if unix* then load pty.js
