https://github.com/tiaanduplessis/check-if-outdated
Simple module to checks if your module or any of its dependencies are outdated
https://github.com/tiaanduplessis/check-if-outdated
outdated package pkg
Last synced: 5 months ago
JSON representation
Simple module to checks if your module or any of its dependencies are outdated
- Host: GitHub
- URL: https://github.com/tiaanduplessis/check-if-outdated
- Owner: tiaanduplessis
- License: mit
- Created: 2016-10-02T20:40:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-02T21:57:10.000Z (over 6 years ago)
- Last Synced: 2025-07-20T22:07:03.058Z (6 months ago)
- Topics: outdated, package, pkg
- Language: JavaScript
- Homepage:
- Size: 620 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
check-if-outdated
Check if module dependencies are outdated
Table of Contents
Table of Contents
## Install
[](https://greenkeeper.io/)
```sh
$ npm install --save check-if-outdated
# OR
$ yarn add check-if-outdated
```
## Usage
```js
const checkIfOutdated = require('check-if-outdated')
checkIfOutdated('jest', 'husky').then(console.log)
//[ { currentVersion: '^18.0.2',
// newVersion: '19.0.2',
// name: 'jest',
// dependencies: { 'jest-cli': '^19.0.2' },
// bin: { jest: './bin/jest.js' },
// directories: {},
// dist:
// { shasum: 'b794faaf8ff461e7388f28beef559a54f20b2c10',
// tarball: 'https://registry.npmjs.org/jest/-/jest-19.0.2.tgz' },
// engines: { node: '>= 4' },
// _hasShrinkwrap: false }, ... ]
```
## CLI
```sh
$ npm install --global check-if-outdated
# OR
$ yarn global add check-if-outdated
```
Then:
```sh
$ check-if-outdated jest
#[ { currentVersion: '^18.0.2',
# newVersion: '19.0.2',
# name: 'jest',
# dependencies: { 'jest-cli': '^19.0.2' },
# bin: { jest: './bin/jest.js' },
# directories: {},
# dist:
# { shasum: 'b794faaf8ff461e7388f28beef559a54f20b2c10',
# tarball: 'https://registry.npmjs.org/jest/-/jest-19.0.2.tgz' },
# engines: { node: '>= 4' },
# _hasShrinkwrap: false } ]
```
## Contribute
Contributions are welcome. Please open up an issue or create PR if you would like to help out.
Note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.
## License
Licensed under the MIT License.