Skip to content

Instantly share code, notes, and snippets.

@deleteman
Created January 4, 2023 12:38
Show Gist options
  • Save deleteman/6e5fa1357c37d236466cab82fddae79c to your computer and use it in GitHub Desktop.
Save deleteman/6e5fa1357c37d236466cab82fddae79c to your computer and use it in GitHub Desktop.
const fs = require("fs");
fs.readFile("./test1.js", (err, content) => {
if(err) {
return console.log(err);
}
console.log(content.toString());
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment