NPM comes with node.js installation. It is node.js package manager, as the name suggests it is used to install node programs/modules. We can also easily specify and link dependencies.
npm install express installs express module
npm install express --save installs express and updates the dependencies in package.json
Modules get installed into the "node_modules" folder .
Subscribe to:
Post Comments (Atom)
Call a function in child component from parent component in React
Consider the following parent component class Parent extends React.Component { constructor(props) { super(props); thi...
-
The process of replacing a module with generic and mostly empty object, called a mock. Advantages: Isolates our code from its dependen...
-
When we create a class or struct, its constructor is called. Constructor will have same name as a class or struct and is usually used to ini...
-
I have an Address object from my user interface like below Address:{address1:"Franklin",address2:"Warrensburg",adress...
No comments:
Post a Comment