process.cwd() returns the current working directory,
i.e. the directory from which you invoked the node command.
__dirname returns the directory name of the directory containing the JavaScript source code file
process.cwd() returns the current working directory,
i.e. the directory from which you invoked the node command.
__dirname returns the directory name of the directory containing the JavaScript source code file