If you want to use moment.js in your app then it's not npm that you must use, it's bower.
npm is used to install tools.
bower install moment --save
Then depending on the gulp process you use, you may have to insert a script link to moment.js in your index.html