indated
Version:
Analyze your project's dependencies to determine how many major/minor/patch versions behind each one is
66 lines (45 loc) • 1.85 kB
Markdown
[](https://github.com/pabo/indated/blob/master/LICENSE) [](https://github.com/pabo/indated/blob/master/coverage/coverage-summary.json) [](https://github.com/pabo/indated/)
# Indated
It's better to be indated than outdated!
Analyze your npm project's dependencies to determine how many major/minor/patch versions behind each one is.
## Contents
- [Installation](#installation)
- [Usage](#usage)
- [Options](#options)
- [Example Output](#example-output)
- [License](#license)
---
## Installation
```
$ npm install --save-dev indated
```
## Usage
assuming you have `./node_modules/.bin/` in your path, just run
```
$ indated
```
or, if you have npm > 5.2.0
```
$ npx indated
```
otherwise, run
```
$ node_modules/.bin/indated
```
## Options
By default, `indated` will generate a markdown table listing your project's dependencies that are one or more **major** versions behind the latest available. It does this by leveraging output from `npm outdated`.
You can easily add **minor** and **patch** versions to the output with `--minor` and `--patch`, and disable **major** with `--no-major`.
Example: show all dependencies that differ from latest only by minor version:
```
$ indated --no-major --minor
```
## Example Output
```
$ indated --major --minor
building package tree... (this may take a while)
| package | level | difference |
| ------- | ----- | ---------- |
| jest | minor | 1 |
```
## License
This project is licensed under the [MIT License](./LICENSE)