NodeJS

  • NodeJS lets you run JavaScript on your laptop / desktop
  • It powers a number of real-world servers and programs
  • NodeJS can read files, interact with other programs, and act as a server
const fs = require("fs");
fs.readFile("/home/ryan/Documents/hello.txt", "utf-8", (err, data) => {
    console.log(data);
})

4 / 10