This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node.js tools and libraries | |
## Tools | |
- Monitor for any changes in your source code and automatically restart your server | |
In development: | |
``` | |
sudo npm install -g nodemon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# npm basics | |
- Install packages locally under node_modules directory: | |
``` | |
npm install <package_name> | |
``` | |
- Install packages globally, useful for applications: | |
``` | |
sudo npm install -g <package_name> |
NewerOlder