htmlclean-cli.js
function readStdin() {
    var stdin = process.stdin,
      fd = stdin.isTTY && process.platform !== 'win32' ?
        fs.openSync('/dev/tty', 'rs') : stdin.fd,
      bufSize = stdin.isTTY ? DEFAULT_BUF_SIZE :
        (fs.fstatSync(fd).size || DEFAULT_BUF_SIZE),
      buffer = Buffer.allocUnsafe && Buffer.alloc ? Buffer.alloc(bufSize) : new Buffer(bufSize),
      rsize, input = '';
    while (true) {
      rsize = 0;
      try {
        rsize = fs.readSync(fd, buffer, 0, bufSize);
      } catch (e) {
        if (e.code === 'EOF') { break; }
        throw e;
      }
      if (rsize === 0) { break; }
      input += buffer.toString(program.encoding, 0, rsize);
    }
    return input;
  }
function readStdin() {
    var stdin = process.stdin,
      fd = stdin.isTTY && process.platform !== 'win32' ?
        fs.openSync('/dev/tty', 'rs') : stdin.fd,
      bufSize = stdin.isTTY ? DEFAULT_BUF_SIZE :
        (fs.fstatSync(fd).size || DEFAULT_BUF_SIZE),
      buffer = Buffer.allocUnsafe && Buffer.alloc ? Buffer.alloc(bufSize) : new Buffer(bufSize),
      rsize, input = '';
    while (true) {
      rsize = 0;
      try {
        rsize = fs.readSync(fd, buffer, 0, bufSize);
      } catch (e) {
        if (e.code === 'EOF') { break; }
        throw e;
      }
      if (rsize === 0) { break; }
      input += buffer.toString(program.encoding, 0, rsize);
    }
    return input;
  }
function readStdin ( ) { var stdin = process . stdin , fd = stdin . isTTY && process . platform !== 'win32' ? fs . openSync ( '/dev/tty' , 'rs' ) : stdin . fd , bufSize = stdin . isTTY ? DEFAULT_BUF_SIZE : ( fs . fstatSync ( fd ) . size || DEFAULT_BUF_SIZE ) , buffer = Buffer . allocUnsafe && Buffer . alloc ? Buffer . alloc ( bufSize ) : new Buffer ( bufSize ) , rsize , input = '' ; while ( true ) { rsize = 0 ; try { rsize = fs . readSync ( fd , buffer , 0 , bufSize ) ; } catch ( e ) { if ( e . code === 'EOF' ) { break ; } throw e ; } if ( rsize === 0 ) { break ; } input += buffer . toString ( program . encoding , 0 , rsize ) ; } return input ; }
path was normalized
path was normalized