1.1.1 • Published 4 years ago

npm-check-global-updates v1.1.1

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

npm-check-global-updates Beta npm dependencies devDependencies



Contents

  1. Commandline Usage
  2. Programmatic Usage
  3. Platform Support
  4. Roadmap
  5. Contribute
  6. Author

Commandline Usage

Installation

$ npm install --global npm-check-global-updates

Usage

$ npm-check-global-updates

Show all Options

$ npm-check-global-updates --help

Example

$ npm-check-global-updates
>> browserify@14.4.0 express@4.15.3

Programmatic Usage

Installation

$ npm install npm-check-global-updates

API

The module returns a Function which returns a Promise.

const checkGlobalUpdates = require('npm-check-global-updates')

checkGlobalUpdates()
.then((result) => {
    console.log(result);
})

The Promise resolves with an Array:

  • Array - Package list (name@version)

Example

const checkGlobalUpdates = require('npm-check-global-updates')

checkGlobalUpdates()
.then((packages) => {
    console.log(packages);
    // Returns:
    // [ 'browserify@14.4.0', 'express@4.15.3' ]
})
.catch((err) => {
    console.error(err);
})

Platform Support

Tested on:

  • macOS Sierra
  • Windows 10 Anniversary
  • Ubuntu 17.10

Roadmap img

  • CI-based automated Testing

Contribute Contribute

Read the contribution documentation first.

  • Dev Chat: Talk about features and suggestions.
  • Issues File bugs and document issues.

Author

sidneys 2017

1.1.1

4 years ago

1.1.0

4 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.1

7 years ago