Check for differences in files or directories with NodeJS.