Table of Contents 1. How to easily update the dependency package 1.1 for NPM downloads. Npm-check-updates 1.1.1. NCU Introduction 1.1.2. NCU Operation
1 How to easily update the dependency packages downloaded by NPM
After using NPM to download a dependency package or toolkit such as NRM, Express, it is important to detect updates.
To facilitate the update of the dependency package, we can use a toolkit that is also inside the NPM library: npm-check-updates. 1.1 Npm-check-updates 1.1.1 Ncu Introduction
NCU is a command-line tool that searches for update-dependent packages based on Package.json or Bower.json files in your project, and can be updated for global dependency packages.
NCU Official Address: https://www.npmjs.com/package/npm-check-updates
NCU GitHub Address: https://github.com/tjunnone/npm-check-updates 1.1.2 NCU Operation
First, the global installation is NCU.
$ sudo npm install-g npm-check-updates
After the installation is complete, enter the following command to see how the NCU is used.
$ NCU--help
Then you can read the instructions and use them.
Author:tailgo
CREATED:2016-08-20 Six 12:57