Nihilist Pocket Monsters
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    npm-check-latestpublic

    Check for latest npm dependencies.

    Usage

    returns a bluebird promise of outdated packages

    var check = require('npm-check-latest');
     
    var pkg = require('./package.json');
     
    // pass in  
    check(pkg.dependencies)
      .then(function (packages) {
        // returns array of packages e.g. 
        packages = [{
          name: 'express',
          current: '~4.9.0',
          latest: '4.10.7'
        }, {
          name: 'glob',
          current: '^3.3.1',
          latest: '4.3.2'
        }];
      });
     

    install

    npm i npm-check-latest

    Downloadslast 7 days

    1

    version

    1.0.6

    license

    ISC

    repository

    github.com

    last publish

    collaborators

    • avatar