title: Read/write data into a file(text file) in Angular 5
body: <p>Currently ,I can save,delete,update,and modify the data and the changes are reflected in the local storage because my data gets stored in the local storage using this statement.</p>
  
  <p>localStorage.setItem("Employeekey", JSON.stringify(this.registrations));</p>
  
  <p>I ,now want to do the same operations into a local text file where the changes are reflected after adding data,deleting data,or modifying data.
  I tried to use the file handling of Node.js using the 'require' but it didn't work since 'require' couldn't be found in the module.</p>