Node.js core modules
The fs module is what we call a core module. That means no prior installation is required as it comes within node.js nature. The only thing we need to do in order to start using it, is to import it on top of our script. Then we can call any function this module contains. For node.js we use the require function to import it as is shown above.