Categories
node js and npm

Trying NPM, the node js package manager

After installing node js we will have npm as javascript modules package manager. Npm is similar to gem in ruby language and pear in php.

Try if npm already on out PATH after install on windows command prompt by issuing npm <enter>.

Create a folder then do npm init to create a project folder template.

Show content of folder after npm init. Note that package.json contain the project/module information and module dependencies.

Trying to install angular module using npm install command. After angular installation, see that a new folder named node_modules is created.

Under node_modules we can list content of angular folder.

thats all for now …

Leave a Reply

Your email address will not be published. Required fields are marked *