korhan-Ö
3/20/2017 - 8:39 PM

#NPM Commands

npm list

npm outdated

npm cache ls

npm cache clean

To add an entry to your package.json's dependencies:

npm install <package_name> --save
To add an entry to your package.json's devDependencies:

npm install <package_name> --save-dev

-g : global lokasyonda bulundur.

npm install -g *

bu tagleri kullanınca package.json dosyasına o şekilde eklemiş olur.

npm link <package>

npm init