code: function emptyDirectory(path, callback) {
    fs.readdir('./' + path, function(err, files) {
      if (err && 'ENOENT' !== err.code) throw new Error(err);
      callback(!files || !files.length);
    });
  }
docs: /*process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
   From express