Easy way to update NPM downloads dependencies

Source: Internet
Author: User
Tags json
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.