NPM Basisc

Programming is like cooking, and receipies.

some recipies and cookings are built by others and we can use that.

NPM as shop

where can we purchase the already build programs to use in out application, imagine building apps without built in modules.

npm init

or

npm init –yes

Install package locally(default) and save it to the package.json file npm install –save

Install package globally that can be accessed anywhere in the machine. npm install -g

Use package only for development puposes npm install –save-dev

npm audit

npm update

~ / telda bug fixes and security patches

^ / carrot symbol for minor update

Previous
Next