exec-nvm-versions
Run a node.js script against all available node versions that are installed with NVM.
npm install exec-nvm-versions
It will find all available versions of npm and execute the given script with each versions.
exec-nvm-versions /path/to/my/nodeScript.js