After I upgraded to latest stable node and npm, I tried npm install moment --save. It saves the entry in the package.json
node
npm
npm install moment --save
package.json
~ : Reasonably close to
~
~1.1.5: 1.1.0 <= accepted < 1.2.0
^: Compatible with
^
^1.1.5: 1.1.5 <= accepted < 2.0.0 ^0.1.3: 0.1.3 <= accepted < 0.2.0 ^0.0.4: 0.0.4 <= accepted < 0.1.0