-
Notifications
You must be signed in to change notification settings - Fork 0
npm : NodeJs Package Manager
##Node Package Manager
npm is package manager for JavaScript.
If you've been working with Javascript for a while, you might have heard of npm: npm makes it easy for Javascript developers to share the code that they've created to solve particular problems, and for other developers to reuse that code in their own applications.
The npm registry hosts over a quarter million packages of reusable code — the largest code registry in the world. So you need to find the package you want and install it to your computer(globally) or project (locally).
##installing
-
First you need to install Node.Js
-
then install npm:
npm install npm -g
##To install some package from npm
`syntax: npm install <package_name>`
example: to install react-native:
npm install -g react-native-cli
You can use the option -g to install the package globally.
##npm package
npm have a lot of packages that you can add to your computer or project,You could find them in npm search package. (react-native,Angular,gulp,etc...).
Knowledge is hope