how to read a file by filename in node js code example
Example: get file name nodejs
var path = require('path');
var scriptName = path.basename(__filename);
var path = require('path');
var scriptName = path.basename(__filename);