index.js
function openExplorer(path, callback) {
    if (osType == 'Windows_NT') {
        openExplorerinWindows(path, callback);
    }
    else if (osType == 'Darwin') {
        openExplorerinMac(path, callback);
    }
    else {
        openExplorerinLinux(path, callback);
    }
}
function openExplorer(path, callback) {
    if (osType == 'Windows_NT') {
        openExplorerinWindows(path, callback);
    }
    else if (osType == 'Darwin') {
        openExplorerinMac(path, callback);
    }
    else {
        openExplorerinLinux(path, callback);
    }
}
function openExplorer ( path , callback ) { if ( osType == 'Windows_NT' ) { openExplorerinWindows ( path , callback ) ; } else if ( osType == 'Darwin' ) { openExplorerinMac ( path , callback ) ; } else { openExplorerinLinux ( path , callback ) ; } }
Opens the Explorer and executes the callback function
@param {string} path The path string to be opened in the explorer
@param {Function} callback Callback function to which error is passed if some error occurs
Opens the Explorer and executes the callback function