The file name of the current module. This is the current module file's absolute path.
console.log(__filename); // Prints: /Users/mjr/example.js
0 Comments