utils/basename.js
function basename(file){
    var extname = path.extname(file);
    return path.basename(file, extname);
}
function basename(file){
    var extname = path.extname(file);
    return path.basename(file, extname);
}
function basename ( file ) { var extname = path . extname ( file ) ; return path . basename ( file , extname ) ; }
Utility function to get basename of file
Utility function to get basename of file