add get node version function

add get node version function