This ndenv plugin is simular to rbenv-default-gems: It hooks into the ndenv install
command to automatically install npms to global on every time you install a new version of Node.js or io.js.
git clone https://github.com/kaave/ndenv-default-npms.git $(ndenv root)/plugins/ndenv-default-npms
Create text file to $(ndenv root)/default-npms
and add your need packages.
#----------------
# Example setting
#----------------
# Lines beginning with a # are comment line.
npm
# => npm i -g npm
coffee-script@1.9.0
# => npm i -g coffee-script@1.9.0
typescript@next
# => npm i -g typescript@next