Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get file name nodejs

var path = require('path');
var scriptName = path.basename(__filename);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #file #nodejs
ADD COMMENT
Topic
Name
5+6 =