title: Error cannot find module 'file-saver.js' in node application
body: <p>I am trying to use filesaver in my node application where I have run but when I debug I always get the error which reads "Error: Cannot find module 'filesaver.js'.</p>
  
  <p>I have the line <code>var saveAs = require('filesaver.js');</code> at the top of my index.js file, and I have also run <code>npm install file-saver --save</code> in the terminal - does anyone know how to resolve this?</p>
  
  <p>Edit#1: changed to <code>var saveAs = require('file-saver.js');</code> but still getting error as Cannot find module 'file-saver.js'</p>
  
  <p>Edit#2: Tried const { saveAs } = require('file-saver.js'); but still getting same error</p>