# is-outdated [![Build Status](https://secure.travis-ci.org/rogeriopvl/is-outdated.png?branch=master)](https://travis-ci.org/rogeriopvl/is-outdated)

This is a simple node module that tells you when the installed version of a node package (i.e app) is outdated.

## Install

    npm install --save is-outdated

## Usage

    var isOutdated = require('is-outdated');

    isOutdated('mypackage', require('./package.json').version, function (err, res) {
        console.log('The latest version of this app is %s', res.version);
        console.log('Please updated it with: npm update -g mypackage');
    });

## API

`isOutdated(name, version, callback)`

* name (string) the name of the package
* version (string) a semver compatible string
* callback (function)
    * err
    * data - `false` when the package is up to date or an object in the form: `{ version: 'x.x.x' }`

## License

MIT

# is-outdated [![Build Status](https://travis-ci.org/rogeriopvl/is-outdated.svg?branch=master)](https://travis-ci.org/rogeriopvl/is-outdated)

This is a simple node module that tells you when the installed version of a node package (i.e app) is outdated.

## Install

    npm install --save is-outdated

## Usage

    var isOutdated = require('is-outdated');

    isOutdated('mypackage', require('./package.json').version, function (err, res) {
        console.log('The latest version of this app is %s', res.version);
        console.log('Please updated it with: npm update -g mypackage');
    });

## API

`isOutdated(name, version, callback)`

* name (string) the name of the package
* version (string) a semver compatible string
* callback (function)
    * err
    * data - `false` when the package is up to date or an object in the form: `{ version: 'x.x.x' }`

## License

MIT

Replace travis banner png for svg
Replace travis banner png for svg
