June 2019

Using npm with Git

When using npm with Git, add the node_modules/ folder to your .gitignore file.

Uninstall a local package – npm

To uninstall a local package, use the npm uninstall command with the appropriate package name. To uninstall a local devDependency, add the --save-dev option.