update ./lib/npmw.js