Skip to content

Instantly share code, notes, and snippets.

@thihenos
Last active August 1, 2021 23:55
Show Gist options
  • Save thihenos/4ae52c195b5c481484fec120ad40d984 to your computer and use it in GitHub Desktop.
Save thihenos/4ae52c195b5c481484fec120ad40d984 to your computer and use it in GitHub Desktop.
//Efetuando a leitura do arquivo
fs.readFile('./files/FILE_NAME','utf8', function(err,data){
//Enviando para o console o resultado da leitura
console.log(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment