Answers for "node get filename"

1

get file name nodejs

var path = require('path');
var scriptName = path.basename(__filename);
Posted by: Guest on October-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language